且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

简单的方法来设置的CurrentCulture为整个应用程序?

更新时间:2021-10-15 08:26:12

文化在.NET中的线程是培养系统(如图所示由单个应用程序/进程)。有没有办法覆盖,在.NET中,你必须继续设置的CurrentCulture为每一个新的线程。

The culture for a thread in .NET is the culture for the system (as viewed by a single application/process). There is no way to override that in .NET, you'll have to continue setting the CurrentCulture for each new thread.