using System;
namespace ConsoleApp1
{
class Program
{
public enum Car
{
BMW = 1,
Mercedes = 2,
Opel = 3,
Volkswagen = 4,
Ford = 5
}
static void Main(string[] args)
{
int carValue = (int)Car.Ford;
Console.WriteLine("The value for Ford is {0}", carValue);
Console.Read();
}
}
}