Get name from two-letter ISO code in C#

C#Localization

Please contribute by voting. Thanks!
1

So you got an two letter ISO 3166 code and you want to get the name? This is the easiest way to do it:

var isoCode = "SE";
var englishName = new RegionInfo(isoCode).EnglishName;

Article created: May 25 at 10:58. Edited May 25 at 11:11.

Your comment

You need to sign up / log in to comment this article

Author

Created by Faith Logan [4] May 25 at 10:58

Share article

Do you know about

git?

Write an article