Using .NET Framework Enumerations

In the .NET Framework, an enumeration commonly represents constant values as symbolic or literal names. For example, if you have the type Color, then instead of using the values 0, 1, and 2, you can use Red, Green, and Blue.

Bron : MSDN
Lees meer…

Comments

No comments yet. Why don’t you start the discussion?

Leave a Reply