コード例 #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);
     }
 }