class Demo { enum hello { one=1, two } public static void Main() { Console.WriteLine(hello.one); Console.ReadLine(); } }
Console.WriteLine(hello.one.GetHasCode());
Console.WriteLine((int)hello.one);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)