Enums

by Sam Allen | RSS

Enums in the C# programming language provide a clear and efficient way for you to define constants in your programs. If your teacher or reviewer has told you to avoid magic constants, this is where you should be looking.

Enum Array Use and Enum Indexes
Enum Flags Attribute Use
Enum String Method
Enum Tips and Examples
Enum.GetNames Method
Enum.Parse Method Usage
Environment.SpecialFolder
Switch Enum and Int

Dot Net Perls | Search
Featured | 7-Zip Command-Line Examples | DataGridView Tips and Secrets | Dictionary Examples, Keys and Values | List Examples | Split String Examples
C# | Obsolete Attribute | True and False | Gradient Tips | Catch Examples
© 2010 Sam Allen. All rights reserved.
Dot Net Perls | Sam Allen