using System; class c1010 { enum colours { red, orange, yellow, green, blue, indigo, violet } static int Main() { foreach (colours t in Enum.GetValues(typeof(colours))) { Console.WriteLine(" {0} ",t); } return (0); } }