How can you change the type of a enum?
The type of the enum is implicitly specified as int, but we can alter this by using a colon after the name of the enumeration.
enum TheEnum : long {};
Read More..   [106 clicks]
Published under: C# Interview Questions and Answers · · · ·