Class Currency
ISO 4217 currency codes. Includes all active national currencies and "X-" fund codes (precious metals, supranationals, testing). Historical / withdrawn codes (ADP, DEM, FRF, etc.) are intentionally omitted.
public static class Currency
- Inheritance
-
Currency
- Inherited Members
Remarks
Reference: https://en.wikipedia.org/wiki/ISO_4217 — "Active codes
(list one)" as of January 2026. ZZZ is a non-ISO sentinel used internally
for tests / "no currency" cases.
Methods
Parse(string)
Parse a three-letter currency code into a Currency.CurrencySymbol.
Accepts both ISO 4217 codes and the internal ZZZ sentinel.
public static Currency.CurrencySymbol Parse(string code)
Parameters
codestringThree-letter code (case-sensitive).
Returns
Exceptions
- ArgumentException
Thrown when
codeis not a known currency.
Symbol(CurrencySymbol)
ISO 4217 three-letter code for symbol.
public static string Symbol(this Currency.CurrencySymbol symbol)
Parameters
symbolCurrency.CurrencySymbolCurrency symbol.