I have a enum containing the following (for example):
In my code I use
var codes = new Dictionary() { { Country.UnitedKingdom, "UK" }, { Country.UnitedStates, "US" }, { Country.France, "FR" } }; Console.WriteLine(codes[Country.UnitedStates]);