using System;
using System.Globalization;
using System.Threading;
class MainClass
{
publicstaticvoid Main()
{
Thread.CurrentThread.CurrentUICulture=new CultureInfo("fr-FR");
Console.WriteLine(Thread.CurrentThread.CurrentUICulture.Name);
}
}
fr-FR
21.2.CurrentUICulture
21.2.1.
Set the current UI culture for the executing thread