Mega Code Archive

 
Categories / C# Tutorial / Internationalization
 

Set CurrentCulture to new CultureInfo(de-AT-ST)

using System; using System.Collections.Generic; using System.Text; using System.Globalization; class Program {     static void Main(string[] args) {         CultureInfo ci = new CultureInfo("de-AT-ST");         System.Threading.Thread.CurrentThread.CurrentCulture = ci;         System.Threading.Thread.CurrentThread.CurrentUICulture = ci;     } }