I am trying using c# to get the country name from a country code
For example :
fr-fr
gets me Franceit-it
gets me Italy
The problem with my code is that I am not getting the name but a information like this :
French (France)
This is my code :
var cultureInfo = new CultureInfo("fr-fr");
var result : cultureInfo.EnglishName
My result is "French (France)"
instead of France.
I have managed to get what I want by use the parent property of the cultureInfo but I am not sure if it's a good method.
fr-fr
andit-it
are not country codes – Rosenblum