ECMA-334: 21. Enums
Microsoft .NET Framework, ASP.NET, Visual C# (CSharp, C Sharp, C-Sharp) Developer Training, Visual Studio
| C# Language Specification |
| © 2006 ECMA International |
21. Enums
An enum type is a distinct type that declares a set of named constants. [Example: The example
enum Color { Red, Green, Blue }
declares an enum type named Color with members Red, Green, and Blue. end example]