문제

Is there any library that covers ISO standards of international abbreviations, formats and other, or everybody uses his version of CountryCodes like:

    public enum CountryCode
    {
        AL, // Albania
        AD, // Andorra
        AM, // Armenia
        AT, // Austria
        ...
    }

Want to have country codes, currency and funds name and code elements

BCL implements many ISO standards but they spread among a lot of classes. Will be useful when you know, that if you need to format date by ISO 8601, you use Iso.Formatting.Format(DateTime.Now);

PS: I know about System.Globalization.CultureInfo

도움이 되었습니까?

해결책

The RegionInfo class is your primary resource. It includes currency names (ISO, English and native) and two and three letter region names.

다른 팁

Since you want ISO standards, a good place to start is iso.org:

http://www.iso.org/iso/iso_catalogue.htm

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top