文化信息名文化、信息

2023-09-05 00:39:19 作者:我病態見不得別人恩愛

我改变了应用程序文化根据所选择的币种。

如。

  _culture =新的CultureInfo(EN-US);
_culture =新的CultureInfo(FR-FR);
 

有没有在那里我能得到的工作文化信息的所有名称与 .NET

任何地方

我发现他们大多但misssing的少数几个国家像

斐济元(FJD)瑞典克朗(SEK),冰岛克朗(ISK),斯里兰卡卢比(LKR)和巴西雷亚尔(BRL)的

这将是巨大的,如果有人知道任何引用我可以看看这些货币。

感谢

解决方案   

有没有在那里我能得到的文化信息的所有名称与.NET工作的任何地方吗?

您可以使用 的CultureInfo .GetCultures 找到支持您实际运行的机器上的文化的名单。我也不会感到惊讶,如果它由操作系统,服务包,.NET版本等变化。

信息科技领域名人文化展板图片

I am changing the application culture based on the selected currency.

eg.

_culture = new CultureInfo("en-US");
_culture = new CultureInfo("fr-FR");

Is there any place where I can get all the names of culture info for work with .net?

I found most of them but misssing for few countries like

Fiji Dollar(FJD), Swedish Kroner(SEK), Icelandic Kroner(ISK), Sri Lankan Rupee(LKR) and Brazilian Real(BRL)

It will be great if somebody knows any reference I can look for these currencies.

Thanks

解决方案

Is there any place where I can get all the names of culture info for work with .net?

You can use CultureInfo.GetCultures to find the list of the cultures supported on the machine you're actually running on. I wouldn't be surprised if it varied by OS, service pack, .NET version etc.