Print all Culture info

using System;
using System.Globalization;
using System.Threading;
class Class1 {
static void Main(string[] args) {
CultureInfo[] AllCultures;
RegionInfo Rg;
AllCultures = CultureInfo.GetCultures(CultureTypes.SpecificCultures);
foreach (CultureInfo ACulture in AllCultures) {
Rg = new RegionInfo(ACulture.LCID);
Console.WriteLine(Rg.TwoLetterISORegionName.ToString().PadRight(5, ' ') +
"," + Rg.EnglishName.PadRight(40, ' ') +
"," + ACulture.LCID.ToString());
}
}
}
Related examples in the same category