Get the current and current-ui cultures : CultureInfo : I18N Internationalization C# Examples


C# Examples » I18N Internationalization » CultureInfo »

 

Get the current and current-ui cultures









    
using  System;
using  System.Collections;
using  System.Collections.Generic;
using  System.IO;
using  System.Reflection;
using  System.Resources;
using  System.Text;
using  System.Threading;
using  System.Globalization;

public  class  MainClass
{
        public  static  void  Main()
        {
                CultureInfo  current  =  CultureInfo.CurrentCulture;
                CultureInfo  currentUI  =  CultureInfo.CurrentUICulture;

                Console.WriteLine("CurrentCulture  =  {0}",  current);
                Console.WriteLine("CurrentUICulture  =  {0}",  currentUI);
        }
}
    
   
  
   




HTML code for linking to this page:

Follow Navioo On Twitter

C# Examples

 Navioo I18N Internationalization
» CultureInfo