|
|
|
|
|
by masklinn
1672 days ago
|
|
A C# enum is, like a C enum (as they were explicitly introduced to be compatible with those), just a bunch of constants for integers. So when you have an enum-typed value, odds are good that it’s one of the named ones but there’s no mechanism anywhere preventing it to be any other integer of the underlying type. |
|