C H A P T E R 13
Enumerations
Enumerations
An enumeration, or enum, is a programmer-defined type, like a class or a struct.
- Like structs, enums are value types and therefore store their data directly, rather than separately, with a reference and data.
- Enums have only one type of member: named constants with ...
Get Illustrated C# 2010 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.