接下来,创建一个代表 ElectronicMedia类型的新枚举,您将为它命名为 EMediaType
Next, create a new enumeration that represents the ElectronicMedia type, which you will name EMediaType
这个功能还可以用来探测和搜索命名实体的可枚举集,比如产品、国家或公司名称。
The functionality can also be used to detect and later search for enumerable sets of named entities, such as product, country, or company names.
枚举类型(也称为枚举)为定义一组可以赋给变量的命名整数常量提供了一种有效的方法。
An enumeration type (also named an enumeration or an enum) provides an efficient way to define a set of named integral constants that may be assigned to a variable.
应用推荐