Germany culture : CultureInfo : I18N Internationalization C# Examples


C# Examples » I18N Internationalization » CultureInfo »

 

Germany culture









    
using  System;
using  System.Globalization;
using  System.Windows.Forms;

public  class  MainClass
{
        static  void  Main()  {
                CultureInfo  germany    =  new  CultureInfo(  "de-DE"  );

                double  money  =  123.45;

                string  localMoney  =  money.ToString(  "C",  germany  );
                Console.WriteLine(  localMoney  );

        }
}
    
   
  
   



Output

123,45


HTML code for linking to this page:

Follow Navioo On Twitter

C# Examples

 Navioo I18N Internationalization
» CultureInfo