About enum

In computer programming Language an enumerated data type also called enumeration or Enum and a categorical variable in statistics. In Programming language some time programmer wants to create own data type for special purpose called Enum data type which is consisting of a set of named values called elements, members, enumeral, or enumerators of the type. The enumerator names is used for identifiers which behave as constants in the language. When we are declare any variables as Enum type then these variables are hold any of the enumerators as a value. In other words we can say an enumerated type has values that are different from each other and that can be compared and assigned. for Example It can be used for days of the week (SUNDAY, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY and SATURDAY) , directions (NORTH, SOUTH, EAST and WEST) etc.

Related resources for enum
Source Code: Graphics Programming with GDI+
Graphics Programming with GDI+ is the .NET developer's guide to writing graphics appl...
Download