How to get current regional settings in C#?

前端 未结 7 1675
独厮守ぢ
独厮守ぢ 2020-11-29 08:32

Normally you can get it by writing something like

CultureInfo currentCulture = Thread.CurrentThread.CurrentCulture;

But this way you can only ge

7条回答
  •  没有蜡笔的小新
    2020-11-29 08:56

    Thread.CurrentThread.CurrentCulture.ClearCachedData() looks like it will cause the culture data to be re-read when it is next accessed.

提交回复
热议问题