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