Mega Code Archive

 
Categories / C# / Internationalization
 

Gets the name, in English, of the currency used in the countryregion

using System; using System.Globalization; class Sample  {     public static void Main()      {         RegionInfo ri = new RegionInfo("SE");              Console.Clear();         Console.WriteLine("Region English Name: . . . {0}", ri.EnglishName);         Console.WriteLine("Native Name: . . . . . . . {0}", ri.NativeName);         Console.WriteLine("Currency English Name: . . {0}", ri.CurrencyEnglishName);         Console.WriteLine("Currency Native Name:. . . {0}", ri.CurrencyNativeName);         Console.WriteLine("Geographical ID: . . . . . {0}", ri.GeoId);     } }