Originally posted by victor kamat:
You can think of it as a class with only static members.
Not a good analogy. Enums can be defined with instance members and methods.
Perhaps it'd be better to think of it as a class with predefined instances.
[ December 19, 2008: Message edited by: Bear Bibeault ]