Using:
Console.WriteLine(System.Globalization.CultureInfo.CurrentCulture.ToString());
I get "en-US"
.
What should I change in my control panel settings ( Region and Language ? ) to get something else for example "en-CA"
.
What should I change in my control panel settings ( Region and Language ? ) to get something else for example "en-CA" .
You can change it for current thread like:
System.Threading.Thread.CurrentThread.CurrentCulture = new CultureInfo("en-CA");
and then:
Console.WriteLine(System.Globalization.CultureInfo.CurrentCulture.ToString());
would return:
en-CA