Converting country codes in .NET

前端 未结 10 1706
难免孤独
难免孤独 2020-12-04 23:55

In .NET is there any way to convert from three letter country codes (defined in ISO 3166-1 alpha-3) to two letter language codes (defined in ISO 3166-1 alpha-2) eg. convert

10条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-05 00:45

    There's ISO3166 Nuget package that provides list of ISO3166 countries that include name, 2 and 3 letter code, and numberic code.

提交回复
热议问题