CurrencyEnglishName Property

RegionInfo.CurrencyEnglishName Property

 

Gets the name, in English, of the currency used in the country/region.

Namespace:   System.Globalization
Assembly:  mscorlib (in mscorlib.dll)

[ComVisibleAttribute(false)]
public virtual string CurrencyEnglishName { get; }

Property Value

Type: System.String

The name, in English, of the currency used in the country/region.

The following code example demonstrates the CurrencyEnglishName property.

// This example demonstrates the RegionInfo.EnglishName, NativeName, 
// CurrencyEnglishName, CurrencyNativeName, and GeoId properties.

using System;
using System.Globalization;

class Sample 
{
    public static void Main() 
    {
    RegionInfo ri = new RegionInfo("SE"); // Sweden

    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);
    }
}
/*
This code example produces the following results:

Region English Name: . . . Sweden
Native Name: . . . . . . . Sverige
Currency English Name: . . Swedish Krona
Currency Native Name:. . . Svensk krona
Geographical ID: . . . . . 221

*/

.NET Framework
Available since 2.0
Return to top
Show:
© 2016 Microsoft