enum是用来声明枚举类型数据。它可以像数组一样存储许多的元素,但是不同于数组的是,它除了数字不能存储以外,其他类型的如字母、特殊符号、汉字都可以以任意组合存入enum当中去。enum的声明:enum A { a, b, c };enum声明不同于数组,其只可以声明在Main()方法体外,在Main()中可以被调用。enum的...
enum音标为[ɪˌnjuːm]拓展:1、enum释义:枚举;枚举类型;列举 2、enum造句:(1)Just as with any constant, all references to the individual values of an enum are converted to numeric literals at compile time.与任何常量一样,对枚举中各个值的所有引用在编译时均将...