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