HtmlForgeX

API Reference

Enum

Country

Namespace HtmlForgeX
Assembly HtmlForgeX
Base Enum
Implements
IComparable ISpanFormattable IFormattable IConvertible
Modifiers sealed

Country enumeration (ISO 3166-1). Generated by Build/CountryEnumGen.

Inheritance

  • Enum
  • Country

Values

public const Country Afghanistan #
CountryCode("AF", "AFG")
Value: 0
public const Country Albania #
CountryCode("AL", "ALB")
Value: 1
public const Country Algeria #
CountryCode("DZ", "DZA")
Value: 2
public const Country AmericanSamoa #
CountryCode("AS", "ASM")
Value: 3
public const Country Andorra #
CountryCode("AD", "AND")
Value: 4
public const Country Angola #
CountryCode("AO", "AGO")
Value: 5
public const Country Anguilla #
CountryCode("AI", "AIA")
Value: 6
public const Country Antarctica #
CountryCode("AQ", "ATA")
Value: 7
public const Country AntiguaBarbuda #
CountryCode("AG", "ATG")
Value: 8
public const Country Argentina #
CountryCode("AR", "ARG")
Value: 9
public const Country Armenia #
CountryCode("AM", "ARM")
Value: 10
public const Country Aruba #
CountryCode("AW", "ABW")
Value: 11
public const Country Australia #
CountryCode("AU", "AUS")
Value: 12
public const Country Austria #
CountryCode("AT", "AUT")
Value: 13
public const Country Azerbaijan #
CountryCode("AZ", "AZE")
Value: 14
public const Country Bahamas #
CountryCode("BS", "BHS")
Value: 15
public const Country Bahrain #
CountryCode("BH", "BHR")
Value: 16
public const Country Bangladesh #
CountryCode("BD", "BGD")
Value: 17
public const Country Barbados #
CountryCode("BB", "BRB")
Value: 18
public const Country Belarus #
CountryCode("BY", "BLR")
Value: 19
public const Country Belgium #
CountryCode("BE", "BEL")
Value: 20
public const Country Belize #
CountryCode("BZ", "BLZ")
Value: 21
public const Country Benin #
CountryCode("BJ", "BEN")
Value: 22
public const Country Bermuda #
CountryCode("BM", "BMU")
Value: 23
public const Country Bhutan #
CountryCode("BT", "BTN")
Value: 24
public const Country Bolivia #
CountryCode("BO", "BOL")
Value: 25
public const Country BosniaHerzegovina #
CountryCode("BA", "BIH")
Value: 26
public const Country Botswana #
CountryCode("BW", "BWA")
Value: 27
public const Country BouvetIsland #
CountryCode("BV", "BVT")
Value: 28
public const Country Brazil #
CountryCode("BR", "BRA")
Value: 29
public const Country BritishIndianOceanTerritory #
CountryCode("IO", "IOT")
Value: 30
public const Country BritishVirginIslands #
CountryCode("VG", "VGB")
Value: 31
public const Country Brunei #
CountryCode("BN", "BRN")
Value: 32
public const Country Bulgaria #
CountryCode("BG", "BGR")
Value: 33
public const Country BurkinaFaso #
CountryCode("BF", "BFA")
Value: 34
public const Country Burundi #
CountryCode("BI", "BDI")
Value: 35
public const Country Cambodia #
CountryCode("KH", "KHM")
Value: 36
public const Country Cameroon #
CountryCode("CM", "CMR")
Value: 37
public const Country Canada #
CountryCode("CA", "CAN")
Value: 38
public const Country CapeVerde #
CountryCode("CV", "CPV")
Value: 39
public const Country CaribbeanNetherlands #
CountryCode("BQ", "BES")
Value: 40
public const Country CaymanIslands #
CountryCode("KY", "CYM")
Value: 41
public const Country CentralAfricanRepublic #
CountryCode("CF", "CAF")
Value: 42
public const Country Chad #
CountryCode("TD", "TCD")
Value: 43
public const Country Chile #
CountryCode("CL", "CHL")
Value: 44
public const Country China #
CountryCode("CN", "CHN")
Value: 45
public const Country ChristmasIsland #
CountryCode("CX", "CXR")
Value: 46
public const Country CocosKeelingIslands #
CountryCode("CC", "CCK")
Value: 47
public const Country Colombia #
CountryCode("CO", "COL")
Value: 48
public const Country Comoros #
CountryCode("KM", "COM")
Value: 49
public const Country CongoBrazzaville #
CountryCode("CG", "COG")
Value: 50
public const Country CongoKinshasa #
CountryCode("CD", "COD")
Value: 51
public const Country CookIslands #
CountryCode("CK", "COK")
Value: 52
public const Country CostaRica #
CountryCode("CR", "CRI")
Value: 53
public const Country Croatia #
CountryCode("HR", "HRV")
Value: 54
public const Country Cuba #
CountryCode("CU", "CUB")
Value: 55
public const Country Curacao #
CountryCode("CW", "CUW")
Value: 56
public const Country Cyprus #
CountryCode("CY", "CYP")
Value: 57
public const Country Czechia #
CountryCode("CZ", "CZE")
Value: 58
public const Country CotedIvoire #
CountryCode("CI", "CIV")
Value: 59
public const Country Denmark #
CountryCode("DK", "DNK")
Value: 60
public const Country Djibouti #
CountryCode("DJ", "DJI")
Value: 61
public const Country Dominica #
CountryCode("DM", "DMA")
Value: 62
public const Country DominicanRepublic #
CountryCode("DO", "DOM")
Value: 63
public const Country Ecuador #
CountryCode("EC", "ECU")
Value: 64
public const Country Egypt #
CountryCode("EG", "EGY")
Value: 65
public const Country ElSalvador #
CountryCode("SV", "SLV")
Value: 66
public const Country EquatorialGuinea #
CountryCode("GQ", "GNQ")
Value: 67
public const Country Eritrea #
CountryCode("ER", "ERI")
Value: 68
public const Country Estonia #
CountryCode("EE", "EST")
Value: 69
public const Country Eswatini #
CountryCode("SZ", "SWZ")
Value: 70
public const Country Ethiopia #
CountryCode("ET", "ETH")
Value: 71
public const Country FalklandIslands #
CountryCode("FK", "FLK")
Value: 72
public const Country FaroeIslands #
CountryCode("FO", "FRO")
Value: 73
public const Country Fiji #
CountryCode("FJ", "FJI")
Value: 74
public const Country Finland #
CountryCode("FI", "FIN")
Value: 75
public const Country France #
CountryCode("FR", "FRA")
Value: 76
public const Country FrenchGuiana #
CountryCode("GF", "GUF")
Value: 77
public const Country FrenchPolynesia #
CountryCode("PF", "PYF")
Value: 78
public const Country FrenchSouthernTerritories #
CountryCode("TF", "ATF")
Value: 79
public const Country Gabon #
CountryCode("GA", "GAB")
Value: 80
public const Country Gambia #
CountryCode("GM", "GMB")
Value: 81
public const Country Georgia #
CountryCode("GE", "GEO")
Value: 82
public const Country Germany #
CountryCode("DE", "DEU")
Value: 83
public const Country Ghana #
CountryCode("GH", "GHA")
Value: 84
public const Country Gibraltar #
CountryCode("GI", "GIB")
Value: 85
public const Country Greece #
CountryCode("GR", "GRC")
Value: 86
public const Country Greenland #
CountryCode("GL", "GRL")
Value: 87
public const Country Grenada #
CountryCode("GD", "GRD")
Value: 88
public const Country Guadeloupe #
CountryCode("GP", "GLP")
Value: 89
public const Country Guam #
CountryCode("GU", "GUM")
Value: 90
public const Country Guatemala #
CountryCode("GT", "GTM")
Value: 91
public const Country Guernsey #
CountryCode("GG", "GGY")
Value: 92
public const Country Guinea #
CountryCode("GN", "GIN")
Value: 93
public const Country GuineaBissau #
CountryCode("GW", "GNB")
Value: 94
public const Country Guyana #
CountryCode("GY", "GUY")
Value: 95
public const Country Haiti #
CountryCode("HT", "HTI")
Value: 96
public const Country HeardMcDonaldIslands #
CountryCode("HM", "HMD")
Value: 97
public const Country Honduras #
CountryCode("HN", "HND")
Value: 98
public const Country HongKongSARChina #
CountryCode("HK", "HKG")
Value: 99
public const Country Hungary #
CountryCode("HU", "HUN")
Value: 100
public const Country Iceland #
CountryCode("IS", "ISL")
Value: 101
public const Country India #
CountryCode("IN", "IND")
Value: 102
public const Country Indonesia #
CountryCode("ID", "IDN")
Value: 103
public const Country Iran #
CountryCode("IR", "IRN")
Value: 104
public const Country Iraq #
CountryCode("IQ", "IRQ")
Value: 105
public const Country Ireland #
CountryCode("IE", "IRL")
Value: 106
public const Country IsleofMan #
CountryCode("IM", "IMN")
Value: 107
public const Country Israel #
CountryCode("IL", "ISR")
Value: 108
public const Country Italy #
CountryCode("IT", "ITA")
Value: 109
public const Country Jamaica #
CountryCode("JM", "JAM")
Value: 110
public const Country Japan #
CountryCode("JP", "JPN")
Value: 111
public const Country Jersey #
CountryCode("JE", "JEY")
Value: 112
public const Country Jordan #
CountryCode("JO", "JOR")
Value: 113
public const Country Kazakhstan #
CountryCode("KZ", "KAZ")
Value: 114
public const Country Kenya #
CountryCode("KE", "KEN")
Value: 115
public const Country Kiribati #
CountryCode("KI", "KIR")
Value: 116
public const Country Kuwait #
CountryCode("KW", "KWT")
Value: 117
public const Country Kyrgyzstan #
CountryCode("KG", "KGZ")
Value: 118
public const Country Laos #
CountryCode("LA", "LAO")
Value: 119
public const Country Latvia #
CountryCode("LV", "LVA")
Value: 120
public const Country Lebanon #
CountryCode("LB", "LBN")
Value: 121
public const Country Lesotho #
CountryCode("LS", "LSO")
Value: 122
public const Country Liberia #
CountryCode("LR", "LBR")
Value: 123
public const Country Libya #
CountryCode("LY", "LBY")
Value: 124
public const Country Liechtenstein #
CountryCode("LI", "LIE")
Value: 125
public const Country Lithuania #
CountryCode("LT", "LTU")
Value: 126
public const Country Luxembourg #
CountryCode("LU", "LUX")
Value: 127
public const Country MacaoSARChina #
CountryCode("MO", "MAC")
Value: 128
public const Country Madagascar #
CountryCode("MG", "MDG")
Value: 129
public const Country Malawi #
CountryCode("MW", "MWI")
Value: 130
public const Country Malaysia #
CountryCode("MY", "MYS")
Value: 131
public const Country Maldives #
CountryCode("MV", "MDV")
Value: 132
public const Country Mali #
CountryCode("ML", "MLI")
Value: 133
public const Country Malta #
CountryCode("MT", "MLT")
Value: 134
public const Country MarshallIslands #
CountryCode("MH", "MHL")
Value: 135
public const Country Martinique #
CountryCode("MQ", "MTQ")
Value: 136
public const Country Mauritania #
CountryCode("MR", "MRT")
Value: 137
public const Country Mauritius #
CountryCode("MU", "MUS")
Value: 138
public const Country Mayotte #
CountryCode("YT", "MYT")
Value: 139
public const Country Mexico #
CountryCode("MX", "MEX")
Value: 140
public const Country Micronesia #
CountryCode("FM", "FSM")
Value: 141
public const Country Moldova #
CountryCode("MD", "MDA")
Value: 142
public const Country Monaco #
CountryCode("MC", "MCO")
Value: 143
public const Country Mongolia #
CountryCode("MN", "MNG")
Value: 144
public const Country Montenegro #
CountryCode("ME", "MNE")
Value: 145
public const Country Montserrat #
CountryCode("MS", "MSR")
Value: 146
public const Country Morocco #
CountryCode("MA", "MAR")
Value: 147
public const Country Mozambique #
CountryCode("MZ", "MOZ")
Value: 148
public const Country MyanmarBurma #
CountryCode("MM", "MMR")
Value: 149
public const Country Namibia #
CountryCode("NA", "NAM")
Value: 150
public const Country Nauru #
CountryCode("NR", "NRU")
Value: 151
public const Country Nepal #
CountryCode("NP", "NPL")
Value: 152
public const Country Netherlands #
CountryCode("NL", "NLD")
Value: 153
public const Country NewCaledonia #
CountryCode("NC", "NCL")
Value: 154
public const Country NewZealand #
CountryCode("NZ", "NZL")
Value: 155
public const Country Nicaragua #
CountryCode("NI", "NIC")
Value: 156
public const Country Niger #
CountryCode("NE", "NER")
Value: 157
public const Country Nigeria #
CountryCode("NG", "NGA")
Value: 158
public const Country Niue #
CountryCode("NU", "NIU")
Value: 159
public const Country NorfolkIsland #
CountryCode("NF", "NFK")
Value: 160
public const Country NorthKorea #
CountryCode("KP", "PRK")
Value: 161
public const Country NorthMacedonia #
CountryCode("MK", "MKD")
Value: 162
public const Country NorthernMarianaIslands #
CountryCode("MP", "MNP")
Value: 163
public const Country Norway #
CountryCode("NO", "NOR")
Value: 164
public const Country Oman #
CountryCode("OM", "OMN")
Value: 165
public const Country Pakistan #
CountryCode("PK", "PAK")
Value: 166
public const Country Palau #
CountryCode("PW", "PLW")
Value: 167
public const Country PalestinianTerritories #
CountryCode("PS", "PSE")
Value: 168
public const Country Panama #
CountryCode("PA", "PAN")
Value: 169
public const Country PapuaNewGuinea #
CountryCode("PG", "PNG")
Value: 170
public const Country Paraguay #
CountryCode("PY", "PRY")
Value: 171
public const Country Peru #
CountryCode("PE", "PER")
Value: 172
public const Country Philippines #
CountryCode("PH", "PHL")
Value: 173
public const Country PitcairnIslands #
CountryCode("PN", "PCN")
Value: 174
public const Country Poland #
CountryCode("PL", "POL")
Value: 175
public const Country Portugal #
CountryCode("PT", "PRT")
Value: 176
public const Country PuertoRico #
CountryCode("PR", "PRI")
Value: 177
public const Country Qatar #
CountryCode("QA", "QAT")
Value: 178
public const Country Romania #
CountryCode("RO", "ROU")
Value: 179
public const Country Russia #
CountryCode("RU", "RUS")
Value: 180
public const Country Rwanda #
CountryCode("RW", "RWA")
Value: 181
public const Country Reunion #
CountryCode("RE", "REU")
Value: 182
public const Country Samoa #
CountryCode("WS", "WSM")
Value: 183
public const Country SanMarino #
CountryCode("SM", "SMR")
Value: 184
public const Country SaudiArabia #
CountryCode("SA", "SAU")
Value: 185
public const Country Senegal #
CountryCode("SN", "SEN")
Value: 186
public const Country Serbia #
CountryCode("RS", "SRB")
Value: 187
public const Country Seychelles #
CountryCode("SC", "SYC")
Value: 188
public const Country SierraLeone #
CountryCode("SL", "SLE")
Value: 189
public const Country Singapore #
CountryCode("SG", "SGP")
Value: 190
public const Country SintMaarten #
CountryCode("SX", "SXM")
Value: 191
public const Country Slovakia #
CountryCode("SK", "SVK")
Value: 192
public const Country Slovenia #
CountryCode("SI", "SVN")
Value: 193
public const Country SolomonIslands #
CountryCode("SB", "SLB")
Value: 194
public const Country Somalia #
CountryCode("SO", "SOM")
Value: 195
public const Country SouthAfrica #
CountryCode("ZA", "ZAF")
Value: 196
public const Country SouthGeorgiaSouthSandwichIslands #
CountryCode("GS", "SGS")
Value: 197
public const Country SouthKorea #
CountryCode("KR", "KOR")
Value: 198
public const Country SouthSudan #
CountryCode("SS", "SSD")
Value: 199
public const Country Spain #
CountryCode("ES", "ESP")
Value: 200
public const Country SriLanka #
CountryCode("LK", "LKA")
Value: 201
public const Country StBarthelemy #
CountryCode("BL", "BLM")
Value: 202
public const Country StHelena #
CountryCode("SH", "SHN")
Value: 203
public const Country StKittsNevis #
CountryCode("KN", "KNA")
Value: 204
public const Country StLucia #
CountryCode("LC", "LCA")
Value: 205
public const Country StMartin #
CountryCode("MF", "MAF")
Value: 206
public const Country StPierreMiquelon #
CountryCode("PM", "SPM")
Value: 207
public const Country StVincentGrenadines #
CountryCode("VC", "VCT")
Value: 208
public const Country Sudan #
CountryCode("SD", "SDN")
Value: 209
public const Country Suriname #
CountryCode("SR", "SUR")
Value: 210
public const Country SvalbardJanMayen #
CountryCode("SJ", "SJM")
Value: 211
public const Country Sweden #
CountryCode("SE", "SWE")
Value: 212
public const Country Switzerland #
CountryCode("CH", "CHE")
Value: 213
public const Country Syria #
CountryCode("SY", "SYR")
Value: 214
public const Country SaoTomePrincipe #
CountryCode("ST", "STP")
Value: 215
public const Country Taiwan #
CountryCode("TW", "TWN")
Value: 216
public const Country Tajikistan #
CountryCode("TJ", "TJK")
Value: 217
public const Country Tanzania #
CountryCode("TZ", "TZA")
Value: 218
public const Country Thailand #
CountryCode("TH", "THA")
Value: 219
public const Country TimorLeste #
CountryCode("TL", "TLS")
Value: 220
public const Country Togo #
CountryCode("TG", "TGO")
Value: 221
public const Country Tokelau #
CountryCode("TK", "TKL")
Value: 222
public const Country Tonga #
CountryCode("TO", "TON")
Value: 223
public const Country TrinidadTobago #
CountryCode("TT", "TTO")
Value: 224
public const Country Tunisia #
CountryCode("TN", "TUN")
Value: 225
public const Country Turkmenistan #
CountryCode("TM", "TKM")
Value: 226
public const Country TurksCaicosIslands #
CountryCode("TC", "TCA")
Value: 227
public const Country Tuvalu #
CountryCode("TV", "TUV")
Value: 228
public const Country Turkiye #
CountryCode("TR", "TUR")
Value: 229
public const Country USOutlyingIslands #
CountryCode("UM", "UMI")
Value: 230
public const Country USVirginIslands #
CountryCode("VI", "VIR")
Value: 231
public const Country Uganda #
CountryCode("UG", "UGA")
Value: 232
public const Country Ukraine #
CountryCode("UA", "UKR")
Value: 233
public const Country UnitedArabEmirates #
CountryCode("AE", "ARE")
Value: 234
public const Country UnitedKingdom #
CountryCode("GB", "GBR")
Value: 235
public const Country UnitedStates #
CountryCode("US", "USA")
Value: 236
public const Country Uruguay #
CountryCode("UY", "URY")
Value: 237
public const Country Uzbekistan #
CountryCode("UZ", "UZB")
Value: 238
public const Country Vanuatu #
CountryCode("VU", "VUT")
Value: 239
public const Country VaticanCity #
CountryCode("VA", "VAT")
Value: 240
public const Country Venezuela #
CountryCode("VE", "VEN")
Value: 241
public const Country Vietnam #
CountryCode("VN", "VNM")
Value: 242
public const Country WallisFutuna #
CountryCode("WF", "WLF")
Value: 243
public const Country WesternSahara #
CountryCode("EH", "EH")
Value: 244
public const Country Yemen #
CountryCode("YE", "YEM")
Value: 245
public const Country Zambia #
CountryCode("ZM", "ZMB")
Value: 246
public const Country Zimbabwe #
CountryCode("ZW", "ZWE")
Value: 247
public const Country AlandIslands #
CountryCode("AX", "ALA")
Value: 248

Extension Methods

public static String ToIso2(Country c) #
Returns: String

Gets the ISO 3166-1 alpha-2 code for the given country.

Parameters

c HtmlForgeX.Country requiredposition: 0
public static String ToIso3(Country c) #
Returns: String

Gets the ISO 3166-1 alpha-3 code for the given country.

Parameters

c HtmlForgeX.Country requiredposition: 0