SyntaxFix
Write A Post
Hire A Developer
Questions
For .NET 4.5 and higher, you should use:
var culture = new CultureInfo("en-US"); CultureInfo.DefaultThreadCurrentCulture = culture; CultureInfo.DefaultThreadCurrentUICulture = culture;