.Net Tips – marking the default enum value ‘Undefined’
enum is a tremendously useful structure in C#, but when defining a new enum there is one thing you should always ask yourself: What should the default value be for my enum? The problem with default value is that enum is really an int underneath, and as do all integers in C# an enum has …
.Net Tips – marking the default enum value ‘Undefined’ Read More »