using System;enum Color{ red, green, yellow}public class MainClass{ public static void Main() { Color c = Color.red; Console.WriteLine("c is {0}", c); }} c is red