Wednesday, March 24, 2010

Enumerations

The enumeration type is a value type used to store a set of named constants such as days of the week, months of the year, and so forth, Each enumeration has an underlying type (also called the base type), which can be any one of the integral types (byte, sbyte, short, ushort, int, uint, long, or ulong). The default underlying type is int. The enumeration is usually referred to as enum.

No comments:

Post a Comment