public static CurrencyData GetCurrency(string Code) { if (Currencies.ContainsKey(Code)) { return(Currencies[Code]); } return(null); }
public static string GetCurrencySymbol(string code) { if (Currencies.ContainsKey(code)) { return(Currencies[code]); } else { return(code); } }