Print all Culture info : CultureInfo I18N : Development Class C# Source Code


Custom Search

C# Source Code » Development Class » CultureInfo I18N »

 

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());
      }
   }
}

           
       
    
   
  
   







HTML code for linking to this page:

Follow Navioo On Twitter

C# Source Code

 Navioo Development Class
» CultureInfo I18N