Choosing the default value of an Enum type without having to change values

The default for an enum (in fact, any value type) is 0 — even if that is not a valid value for that enum. It cannot be changed.

Leave a Comment