作者热门文章
- c - 在位数组中找到第一个零
- linux - Unix 显示有关匹配两种模式之一的文件的信息
- 正则表达式替换多个文件
- linux - 隐藏来自 xtrace 的命令
我正在尝试通过 ISO 3166-1 双字母国家名称“MD”获取区域信息。
var r = new RegionInfo("MD");
但我得到以下异常:
Culture name 'MD' is not supported.
这很奇怪,因为存在支持国家/地区摩尔多瓦的 Microsoft 表:
最佳答案
根据MSDN documentation on RegionInfo关于文化名称:
The predefined culture names are listed in the National Language Support (NLS) API Reference at the Go Global Developer Center.
当您转到 National Language Support (NLS) API Reference 时, MD
在那里找不到。
关于c# - 获取摩尔多瓦的区域信息,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19786461/
我是一名优秀的程序员,十分优秀!