C#: enum types
A type-safe enumeration of named values.
Prevents programming errors
User can control underlying type (defaults to int)
Also can control underlying values
Previous slide
Next slide
Back to first slide
View graphic version