Currency Code

Do you need a list of currency code?

using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Globalization;
using System.Threading;

namespace PSC {
   public enum CurrencyCodes {
      [Display(Name = "GBP - British Pound")]
      GBP,
      [Display(Name = "AED - Emirati Dirham")]
      AED,
      [Display(Name = "AFN - Afghan Afghani")]
      AFN,
      [Display(Name = "ALL - Albanian Lek")]
      ALL,
      [Display(Name = "AMD - Armenian Dram")]
      AMD,
      [Display(Name = "ANG - Dutch Guilder")]
      ANG,
      [Display(Name = "AOA - Angolan Kwanza")]
      AOA,
      [Display(Name = "ARS - Argentine Peso")]
      ARS,
      [Display(Name = "AUD - Australian Dollar")]
      AUD,
      [Display(Name = "AWG - Aruban or Dutch Guilder")]
      AWG,
      [Display(Name = "AZN - Azerbaijani New Manat")]
      AZN,
      [Display(Name = "BAM - Bosnian Convertible Marka")]
      BAM,
      [Display(Name = "BBD - Barbadian or Bajan Dollar")]
      BBD,
      [Display(Name = "BDT - Bangladeshi Taka")]
      BDT,
      [Display(Name = "BGN - Bulgarian Lev")]
      BGN,
      [Display(Name = "BHD - Bahraini Dinar")]
      BHD,
      [Display(Name = "BIF - Burundian Franc")]
      BIF,
      [Display(Name = "BMD - Bermudian Dollar")]
      BMD,
      [Display(Name = "BND - Bruneian Dollar")]
      BND,
      [Display(Name = "BOB - Bolivian Boliviano")]
      BOB,
      [Display(Name = "BRL - Brazilian Real")]
      BRL,
      [Display(Name = "BSD - Bahamian Dollar")]
      BSD,
      [Display(Name = "BTN - Bhutanese Ngultrum")]
      BTN,
      [Display(Name = "BWP - Botswana Pula")]
      BWP,
      [Display(Name = "BYR - Belarusian Ruble")]
      BYR,
      [Display(Name = "BZD - Belizean Dollar")]
      BZD,
      [Display(Name = "CAD - Canadian Dollar")]
      CAD,
      [Display(Name = "CDF - Congolese Franc")]
      CDF,
      [Display(Name = "CHF - Swiss Franc")]
      CHF,
      [Display(Name = "CLP - Chilean Peso")]
      CLP,
      [Display(Name = "CNY - Chinese Yuan Renminbi")]
      CNY,
      [Display(Name = "COP - Colombian Peso")]
      COP,
      [Display(Name = "CRC - Costa Rican Colon")]
      CRC,
      [Display(Name = "CUP - Cuban Peso")]
      CUP,
      [Display(Name = "CVE - Cape Verdean Escudo")]
      CVE,
      [Display(Name = "Cyprus, Pounds (expires 2008-Jan-31)")]
      CYP,
      [Display(Name = "CZK - Czech Koruna")]
      CZK,
      [Display(Name = "DJF - Djiboutian Franc")]
      DJF,
      [Display(Name = "DKK - Danish Krone")]
      DKK,
      [Display(Name = "DOP - Dominican Peso")]
      DOP,
      [Display(Name = "DZD - Algerian Dinar")]
      DZD,
      [Display(Name = "EEK - Estonian Krooni")]
      EEK,
      [Display(Name = "EGP - Egyptian Pound")]
      EGP,
      [Display(Name = "ERN - Eritrean Nakfa")]
      ERN,
      [Display(Name = "ETB - Ethiopian Birr")]
      ETB,
      [Display(Name = "EUR - Euro")]
      EUR,
      [Display(Name = "FJD - Fijian Dollar")]
      FJD,
      [Display(Name = "FKP - Falkland Island Pound")]
      FKP,
      [Display(Name = "GEL - Georgian Lari")]
      GEL,
      [Display(Name = "GGP - Guernsey Pound")]
      GGP,
      [Display(Name = "GHS - Ghanaian Cedi")]
      GHS,
      [Display(Name = "GIP - Gibraltar Pound")]
      GIP,
      [Display(Name = "GMD - Gambian Dalasi")]
      GMD,
      [Display(Name = "GNF - Guinean Franc")]
      GNF,
      [Display(Name = "GTQ - Guatemalan Quetzal")]
      GTQ,
      [Display(Name = "GYD - Guyanese Dollar")]
      GYD,
      [Display(Name = "HKD - Hong Kong Dollar")]
      HKD,
      [Display(Name = "HNL - Honduran Lempira")]
      HNL,
      [Display(Name = "HRK - Croatian Kuna")]
      HRK,
      [Display(Name = "HTG - Haitian Gourde")]
      HTG,
      [Display(Name = "HUF - Hungarian Forint")]
      HUF,
      [Display(Name = "IDR - Indonesian Rupiah")]
      IDR,
      [Display(Name = "ILS - Israeli Shekel")]
      ILS,
      [Display(Name = "IMP - Isle of Man Pound")]
      IMP,
      [Display(Name = "INR - Indian Rupee")]
      INR,
      [Display(Name = "IQD - Iraqi Dinar")]
      IQD,
      [Display(Name = "IRR - Iranian Rial")]
      IRR,
      [Display(Name = "ISK - Icelandic Krona")]
      ISK,
      [Display(Name = "JEP - Jersey Pound")]
      JEP,
      [Display(Name = "JMD - Jamaican Dollar")]
      JMD,
      [Display(Name = "JOD - Jordanian Dinar")]
      JOD,
      [Display(Name = "JPY - Japanese Yen")]
      JPY,
      [Display(Name = "KES - Kenyan Shilling")]
      KES,
      [Display(Name = "KGS - Kyrgyzstani Som")]
      KGS,
      [Display(Name = "KHR - Cambodian Riel")]
      KHR,
      [Display(Name = "KMF - Comoran Franc")]
      KMF,
      [Display(Name = "KPW - North Korean Won")]
      KPW,
      [Display(Name = "KRW - South Korean Won")]
      KRW,
      [Display(Name = "KWD - Kuwaiti Dinar")]
      KWD,
      [Display(Name = "KYD - Caymanian Dollar")]
      KYD,
      [Display(Name = "KZT - Kazakhstani Tenge")]
      KZT,
      [Display(Name = "LAK - Lao or Laotian Kip")]
      LAK,
      [Display(Name = "LBP - Lebanese Pound")]
      LBP,
      [Display(Name = "LKR - Sri Lankan Rupee")]
      LKR,
      [Display(Name = "LRD - Liberian Dollar")]
      LRD,
      [Display(Name = "LSL - Basotho Loti")]
      LSL,
      [Display(Name = "LTL - Lithuanian Litas")]
      LTL,
      [Display(Name = "LVL - Latvian Lat")]
      LVL,
      [Display(Name = "LYD - Libyan Dinar")]
      LYD,
      [Display(Name = "MAD - Moroccan Dirham")]
      MAD,
      [Display(Name = "MDL - Moldovan Leu")]
      MDL,
      [Display(Name = "MGA - Malagasy Ariary")]
      MGA,
      [Display(Name = "MKD - Macedonian Denar")]
      MKD,
      [Display(Name = "MMK - Burmese Kyat")]
      MMK,
      [Display(Name = "MNT - Mongolian Tughrik")]
      MNT,
      [Display(Name = "MOP - Macau Pataca")]
      MOP,
      [Display(Name = "MRO - Mauritanian Ouguiya")]
      MRO,
      [Display(Name = "MLT - Maltan Liri")]
      MTL,
      [Display(Name = "MUR - Mauritian Rupee")]
      MUR,
      [Display(Name = "MVR - Maldivian Rufiyaa")]
      MVR,
      [Display(Name = "MWK - Malawian Kwacha")]
      MWK,
      [Display(Name = "MXN - Mexican Peso")]
      MXN,
      [Display(Name = "MYR - Malaysian Ringgit")]
      MYR,
      [Display(Name = "MZN - Mozambican Metical")]
      MZN,
      [Display(Name = "NAD - Namibian Dollar")]
      NAD,
      [Display(Name = "NGN - Nigerian Naira")]
      NGN,
      [Display(Name = "NIO - Nicaraguan Cordoba")]
      NIO,
      [Display(Name = "NOK - Norwegian Krone")]
      NOK,
      [Display(Name = "NPR - Nepalese Rupee")]
      NPR,
      [Display(Name = "NZD - New Zealand Dollar")]
      NZD,
      [Display(Name = "OMR - Omani Rial")]
      OMR,
      [Display(Name = "PAB - Panamanian Balboa")]
      PAB,
      [Display(Name = "PEN - Peruvian Nuevo Sol")]
      PEN,
      [Display(Name = "PGK - Papua New Guinean Kina")]
      PGK,
      [Display(Name = "PHP - Philippine Peso")]
      PHP,
      [Display(Name = "PKR - Pakistani Rupee")]
      PKR,
      [Display(Name = "PLN - Polish Zloty")]
      PLN,
      [Display(Name = "PYG - Paraguayan Guarani")]
      PYG,
      [Display(Name = "QAR - Qatari Riyal")]
      QAR,
      [Display(Name = "RON - Romanian New Leu")]
      RON,
      [Display(Name = "RSD - Serbian Dinar")]
      RSD,
      [Display(Name = "RUB - Russian Ruble")]
      RUB,
      [Display(Name = "RWF - Rwandan Franc")]
      RWF,
      [Display(Name = "SAR - Saudi Arabian Riyal")]
      SAR,
      [Display(Name = "SBD - Solomon Islander Dollar")]
      SBD,
      [Display(Name = "SCR - Seychellois Rupee")]
      SCR,
      [Display(Name = "SDG - Sudanese Pound")]
      SDG,
      [Display(Name = "SEK - Swedish Krona")]
      SEK,
      [Display(Name = "SGD - Singapore Dollar")]
      SGD,
      [Display(Name = "SHP - Saint Helenian Pound")]
      SHP,
      [Display(Name = "SLL - Sierra Leonean Leone")]
      SLL,
      [Display(Name = "SOS - Somali Shilling")]
      SOS,
      [Display(Name = "SPL - Seborgan Luigino")]
      SPL,
      [Display(Name = "SRD - Surinamese Dollar")]
      SRD,
      [Display(Name = "STD - Sao Tomean Dobra")]
      STD,
      [Display(Name = "SVC - Salvadoran Colon")]
      SVC,
      [Display(Name = "SYP - Syrian Pound")]
      SYP,
      [Display(Name = "SZL - Swazi Lilangeni")]
      SZL,
      [Display(Name = "THB - Thai Baht")]
      THB,
      [Display(Name = "TJS - Tajikistani Somoni")]
      TJS,
      [Display(Name = "TMT - Turkmenistani Manat")]
      TMT,
      [Display(Name = "TND - Tunisian Dinar")]
      TND,
      [Display(Name = "TOP - Tongan Pa'anga")]
      TOP,
      [Display(Name = "TRY - Turkish Lira")]
      TRY,
      [Display(Name = "TTD - Trinidadian Dollar")]
      TTD,
      [Display(Name = "TVD - Tuvaluan Dollar")]
      TVD,
      [Display(Name = "TWD - Taiwan New Dollar")]
      TWD,
      [Display(Name = "TZS - Tanzanian Shilling")]
      TZS,
      [Display(Name = "UAH - Ukrainian Hryvna")]
      UAH,
      [Display(Name = "UGX - Ugandan Shilling")]
      UGX,
      [Display(Name = "USD - US Dollar")]
      USD,
      [Display(Name = "UYU - Uruguayan Peso")]
      UYU,
      [Display(Name = "UZS - Uzbekistani Som")]
      UZS,
      [Display(Name = "VEF - Venezuelan Bolivar")]
      VEB,
      [Display(Name = "VEF - Venezuelan Bolivar Fuerte")]
      VEF,
      [Display(Name = "VND - Vietnamese Dong")]
      VND,
      [Display(Name = "VUV - Ni-Vanuatu Vatu")]
      VUV,
      [Display(Name = "WST - Samoan Tala")]
      WST,
      [Display(Name = "XAF - Central African CFA Franc BEAC")]
      XAF,
      [Display(Name = "XAG - Silver Ounce")]
      XAG,
      [Display(Name = "XAU - Gold Ounce")]
      XAU,
      [Display(Name = "XCD - East Caribbean Dollar")]
      XCD,
      [Display(Name = "XDR - IMF Special Drawing Rights")]
      XDR,
      [Display(Name = "XOF - CFA Franc")]
      XOF,
      [Display(Name = "XPD - Palladium Ounce")]
      XPD,
      [Display(Name = "XPF - CFP Franc")]
      XPF,
      [Display(Name = "XPT - Platinum Ounce")]
      XPT,
      [Display(Name = "YER - Yemeni Rial")]
      YER,
      [Display(Name = "ZAR - South African Rand")]
      ZAR,
      [Display(Name = "ZMW - Zambian Kwacha")]
      ZMK,
      [Display(Name = "ZWD - Zimbabwean Dollar")]
      ZWD
   }

   class Program {
      static void Main(string[] args) {
         Console.WriteLine(CurrencyCodes.EUR);
         Console.WriteLine((int)CurrencyCodes.EUR);
         Console.ReadLine();
      }
   }
}

Happy coding!

Advertsing

125X125_06


Subscribe to our mailing list

* indicates required


TagCloud

MonthList

CommentList