string s = Enum.GetName(typeof(Day), 4); Console.WriteLine(s); Console.WriteLine("The values of the Day Enum are:"); foreach (int i in Enum.GetValues(typeof(Day))) Console.WriteLine(i); Console.WriteLine("The names of the Day Enum are:"); foreach (string str in Enum.GetNames(typeof(Day))) Console.WriteLine(str);