using System;
public enum RollerCoasterType
{
Wooden,
Steel,
Hyper,
Heartline,
VirginiaReel,
Mine,
Suspeneded,
}
public class Program
public static void Main()
//All enums
var x = Enum.GetValues(typeof(RollerCoasterType));
foreach(var item in x)
Console.WriteLine("{0} - {1}",(int)item,item);
//Just names
var names = Enum.GetNames(typeof(RollerCoasterType));
foreach(var name in names)
Console.WriteLine(name);