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.
Currencies
The global collection of Currency objects used by CurrencyComboBox.
public static DeferrableObservableCollection<Currency> Currencies { get; }
Property Value
Description
The description of the currency, which is a concatenation of the other properties.
Name
The name of the Currency (i.e., Dollar).
Symbol
The Currency symbol.
Inherited Members
- object.GetType()
- object.MemberwiseClone()
- object.ToString()
- object.Equals(object)
- object.Equals(object, object)
- object.ReferenceEquals(object, object)
- object.GetHashCode()