enumerates all available cultures

/*
Mastering Visual C# .NET
by Jason Price, Mike Gunderloy
Publisher: Sybex;
ISBN: 0782129110
*/
/*
Example21_9.cs enumerates all available cultures
*/
using System;
using System.Globalization;
public class Example21_9
{
public static void Main()
{
foreach (CultureInfo ci in
CultureInfo.GetCultures(CultureTypes.AllCultures))
{
Console.WriteLine("{0} | {1}", ci.EnglishName, ci.Name);
}
}
}
Related examples in the same category