views:

163

answers:

1

Is there a quick built in way to convert ALPHA-2 (GB) to ALPHA-3 (GBR) in C# without having to create an array of them all.

+2  A: 
// using System.Globalization;
RegionInfo info = new RegionInfo("GB");
string ISOAlpha3 = info.ThreeLetterISORegionName; // ISOAlpha3 == "GBR"
Jason