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. Edited May 25.

Your comment

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

Author

Created by Faith Logan [4] May 25

Share article

Do you know about

Domain-driven Design (DDD)?

Write an article