CultureInfo.GetCultures : CultureInfo « System.Globalization « C# / C Sharp by API






CultureInfo.GetCultures

 

using System;
using System.Globalization;

class MainClass
{
  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

1.new CultureInfo(String cult)
2.CultureInfo.Calendar
3.CultureInfo.CreateSpecificCulture
4.CultureInfo.CurrentCulture
5.CultureInfo.CurrentUICulture
6.CultureInfo.DateTimeFormat
7.CultureInfo.DisplayName
8.CultureInfo.EnglishName
9.CultureInfo.GetCultureInfo(String name)
10.CultureInfo.NativeName
11.CultureInfo.NumberFormat
12.CultureInfo.ToString()