using System; using System.Text; namespace Test { enum Color1 { red,yellow,blue,black,white} class Program { static void Main() { Console.WriteLine((int)Color1.red); } } }
using System; using System.Text; namespace Test { enum Color1 { red,yellow,blue,black,white} class Program { static void Main() { Console.WriteLine((int)Color1.red); } } }