Export (0) Print
Expand All

4.1.9 Enumeration types

Visual Studio .NET 2003

An enumeration type is a distinct type with named constants. Every enumeration type has an underlying type, which must be byte, sbyte, short, ushort, int, uint, long or ulong. The set of values of the enumeration type is the same as the set of values of the underlying type. Values of the enumeration type are not restricted to the values of the named constants. Enumeration types are defined through enumeration declarations (Section 14.1).

Show:
© 2014 Microsoft