In This Article

Currency Class

Specifies a country's currency.

public class Currency
Inheritance:
object object

Constructors

Currency(string, string, string?)

Specifies a country's currency.

public Currency(string code, string name, string? symbol = null)
Parameter Type Description
code string

The 3 letter Currency code.

name string

The plural name of the Currency (i.e. Dollars).

symbol string

The Currency symbol.

Properties

Code

The 3 letter Currency code.

public string Code { get; }

Property Value

string

Currencies

The global collection of Currency objects used by CurrencyComboBox.

public static DeferrableObservableCollection<Currency> Currencies { get; }

Property Value

DeferrableObservableCollection<Currency>

Description

The description of the currency, which is a concatenation of the other properties.

public string Description { get; }

Property Value

string

Name

The name of the Currency (i.e., Dollar).

public string Name { get; set; }

Property Value

string

Symbol

The Currency symbol.

public string? Symbol { get; set; }

Property Value

string

Inherited Members

Extension Methods