The extension method must be designed into each enumerated list at design time.
在设计阶段,必须在每个枚举列表中设计extension方法。
The values method of the enumerated type returns an ordered array of the different values of that type.
该枚举类型的values方法返回这种类型的不同值的有序数组。
The main method following the enumerated type definition demonstrates the usage.
位于枚举类型定义之后的main方法演示了这种用法。
应用推荐