Category Archives: .NET

Interesting behaviours with enum in .NET

When defining an enum type, we can assign an int value to each of the enum members. Below is an example. Now there are two behaviours that you may not be aware of. Firstly, given the above definition, you can … Continue reading

Posted in .NET | 1 Comment