Skip to content

Instantly share code, notes, and snippets.

@NerdGr8
Last active August 20, 2020 12:09
Show Gist options
  • Save NerdGr8/56fbd236a10289e96fdcf60133b2fb2e to your computer and use it in GitHub Desktop.
Save NerdGr8/56fbd236a10289e96fdcf60133b2fb2e to your computer and use it in GitHub Desktop.
Country code enum
import System.ComponentModel;
/// <summary>
/// States and Territories of the US
/// </summary>
public enum Countries {
[,
Description,
(,
Afghanistan,
Unknown,
Unknown,
AF = 1,
[,
Description,
(,
�land Islands,
Unknown,
Unknown,
AX = 2,
[,
Description,
(,
Albania,
Unknown,
Unknown,
AL = 3,
[,
Description,
(,
Algeria,
Unknown,
Unknown,
DZ = 4,
[,
Description,
(,
American Samoa,
Unknown,
Unknown,
AS = 5,
[,
Description,
(,
Andorra,
Unknown,
Unknown,
AD = 6,
[,
Description,
(,
Angola,
Unknown,
Unknown,
AO = 7,
[,
Description,
(,
Anguilla,
Unknown,
Unknown,
AI = 8,
[,
Description,
(,
Antarctica,
Unknown,
Unknown,
AQ = 9,
[,
Description,
(,
Antigua and Barbuda,
Unknown,
Unknown,
AG = 10,
[,
Description,
(,
Argentina,
Unknown,
Unknown,
AR = 11,
[,
Description,
(,
Armenia,
Unknown,
Unknown,
AM = 12,
[,
Description,
(,
Aruba,
Unknown,
Unknown,
AW = 13,
[,
Description,
(,
Australia,
Unknown,
Unknown,
AU = 14,
[,
Description,
(,
Austria,
Unknown,
Unknown,
AT = 15,
[,
Description,
(,
Azerbaijan,
Unknown,
Unknown,
AZ = 16,
[,
Description,
(,
Bahamas,
Unknown,
Unknown,
BS = 17,
[,
Description,
(,
Bahrain,
Unknown,
Unknown,
BH = 18,
[,
Description,
(,
Bangladesh,
Unknown,
Unknown,
BD = 19,
[,
Description,
(,
Barbados,
Unknown,
Unknown,
BB = 20,
[,
Description,
(,
Belarus,
Unknown,
Unknown,
BY = 21,
[,
Description,
(,
Belgium,
Unknown,
Unknown,
BE = 22,
[,
Description,
(,
Belize,
Unknown,
Unknown,
BZ = 23,
[,
Description,
(,
Benin,
Unknown,
Unknown,
BJ = 24,
[,
Description,
(,
Bermuda,
Unknown,
Unknown,
BM = 25,
[,
Description,
(,
Bhutan,
Unknown,
Unknown,
BT = 26,
[,
Description,
(,
Bolivia (Plurinational State of),
Unknown,
Unknown,
BO = 27,
[,
Description,
(,
Bonaire, Sint Eustatius and Saba,
Unknown,
Unknown,
BQ = 28,
[,
Description,
(,
Bosnia and Herzegovina,
Unknown,
Unknown,
BA = 29,
[,
Description,
(,
Botswana,
Unknown,
Unknown,
BW = 30,
[,
Description,
(,
Bouvet Island,
Unknown,
Unknown,
BV = 31,
[,
Description,
(,
Brazil,
Unknown,
Unknown,
BR = 32,
[,
Description,
(,
British Indian Ocean Territory,
Unknown,
Unknown,
IO = 33,
[,
Description,
(,
Brunei Darussalam,
Unknown,
Unknown,
BN = 34,
[,
Description,
(,
Bulgaria,
Unknown,
Unknown,
BG = 35,
[,
Description,
(,
Burkina Faso,
Unknown,
Unknown,
BF = 36,
[,
Description,
(,
Burundi,
Unknown,
Unknown,
BI = 37,
[,
Description,
(,
Cabo Verde,
Unknown,
Unknown,
CV = 38,
[,
Description,
(,
Cambodia,
Unknown,
Unknown,
KH = 39,
[,
Description,
(,
Cameroon,
Unknown,
Unknown,
CM = 40,
[,
Description,
(,
Canada,
Unknown,
Unknown,
CA = 41,
[,
Description,
(,
Cayman Islands,
Unknown,
Unknown,
KY = 42,
[,
Description,
(,
Central African Republic,
Unknown,
Unknown,
CF = 43,
[,
Description,
(,
Chad,
Unknown,
Unknown,
TD = 44,
[,
Description,
(,
Chile,
Unknown,
Unknown,
CL = 45,
[,
Description,
(,
China,
Unknown,
Unknown,
CN = 46,
[,
Description,
(,
Christmas Island,
Unknown,
Unknown,
CX = 47,
[,
Description,
(,
Cocos (Keeling) Islands,
Unknown,
Unknown,
CC = 48,
[,
Description,
(,
Colombia,
Unknown,
Unknown,
CO = 49,
[,
Description,
(,
Comoros,
Unknown,
Unknown,
KM = 50,
[,
Description,
(,
Congo,
Unknown,
Unknown,
CG = 51,
[,
Description,
(,
Congo (Democratic Republic of the),
Unknown,
Unknown,
CD = 52,
[,
Description,
(,
Cook Islands,
Unknown,
Unknown,
CK = 53,
[,
Description,
(,
Costa Rica,
Unknown,
Unknown,
CR = 54,
[,
Description,
(,
C�te d'Ivoire,
Unknown,
Unknown,
CI = 55,
[,
Description,
(,
Croatia,
Unknown,
Unknown,
HR = 56,
[,
Description,
(,
Cuba,
Unknown,
Unknown,
CU = 57,
[,
Description,
(,
Cura�ao,
Unknown,
Unknown,
CW = 58,
[,
Description,
(,
Cyprus,
Unknown,
Unknown,
CY = 59,
[,
Description,
(,
Czechia,
Unknown,
Unknown,
CZ = 60,
[,
Description,
(,
Denmark,
Unknown,
Unknown,
DK = 61,
[,
Description,
(,
Djibouti,
Unknown,
Unknown,
DJ = 62,
[,
Description,
(,
Dominica,
Unknown,
Unknown,
DM = 63,
[,
Description,
(,
Dominican Republic,
Unknown,
Unknown,
DO = 64,
[,
Description,
(,
Ecuador,
Unknown,
Unknown,
EC = 65,
[,
Description,
(,
Egypt,
Unknown,
Unknown,
EG = 66,
[,
Description,
(,
El Salvador,
Unknown,
Unknown,
SV = 67,
[,
Description,
(,
Equatorial Guinea,
Unknown,
Unknown,
GQ = 68,
[,
Description,
(,
Eritrea,
Unknown,
Unknown,
ER = 69,
[,
Description,
(,
Estonia,
Unknown,
Unknown,
EE = 70,
[,
Description,
(,
Ethiopia,
Unknown,
Unknown,
ET = 71,
[,
Description,
(,
Falkland Islands (Malvinas),
Unknown,
Unknown,
FK = 72,
[,
Description,
(,
Faroe Islands,
Unknown,
Unknown,
FO = 73,
[,
Description,
(,
Fiji,
Unknown,
Unknown,
FJ = 74,
[,
Description,
(,
Finland,
Unknown,
Unknown,
FI = 75,
[,
Description,
(,
France,
Unknown,
Unknown,
FR = 76,
[,
Description,
(,
French Guiana,
Unknown,
Unknown,
GF = 77,
[,
Description,
(,
French Polynesia,
Unknown,
Unknown,
PF = 78,
[,
Description,
(,
French Southern Territories,
Unknown,
Unknown,
TF = 79,
[,
Description,
(,
Gabon,
Unknown,
Unknown,
GA = 80,
[,
Description,
(,
Gambia,
Unknown,
Unknown,
GM = 81,
[,
Description,
(,
Georgia,
Unknown,
Unknown,
GE = 82,
[,
Description,
(,
Germany,
Unknown,
Unknown,
DE = 83,
[,
Description,
(,
Ghana,
Unknown,
Unknown,
GH = 84,
[,
Description,
(,
Gibraltar,
Unknown,
Unknown,
GI = 85,
[,
Description,
(,
Greece,
Unknown,
Unknown,
GR = 86,
[,
Description,
(,
Greenland,
Unknown,
Unknown,
GL = 87,
[,
Description,
(,
Grenada,
Unknown,
Unknown,
GD = 88,
[,
Description,
(,
Guadeloupe,
Unknown,
Unknown,
GP = 89,
[,
Description,
(,
Guam,
Unknown,
Unknown,
GU = 90,
[,
Description,
(,
Guatemala,
Unknown,
Unknown,
GT = 91,
[,
Description,
(,
Guernsey,
Unknown,
Unknown,
GG = 92,
[,
Description,
(,
Guinea,
Unknown,
Unknown,
GN = 93,
[,
Description,
(,
Guinea-Bissau,
Unknown,
Unknown,
GW = 94,
[,
Description,
(,
Guyana,
Unknown,
Unknown,
GY = 95,
[,
Description,
(,
Haiti,
Unknown,
Unknown,
HT = 96,
[,
Description,
(,
Heard Island and McDonald Islands,
Unknown,
Unknown,
HM = 97,
[,
Description,
(,
Holy See,
Unknown,
Unknown,
VA = 98,
[,
Description,
(,
Honduras,
Unknown,
Unknown,
HN = 99,
[,
Description,
(,
Hong Kong,
Unknown,
Unknown,
HK = 100,
[,
Description,
(,
Hungary,
Unknown,
Unknown,
HU = 101,
[,
Description,
(,
Iceland,
Unknown,
Unknown,
IS = 102,
[,
Description,
(,
India,
Unknown,
Unknown,
IN = 103,
[,
Description,
(,
Indonesia,
Unknown,
Unknown,
ID = 104,
[,
Description,
(,
Iran (Islamic Republic of),
Unknown,
Unknown,
IR = 105,
[,
Description,
(,
Iraq,
Unknown,
Unknown,
IQ = 106,
[,
Description,
(,
Ireland,
Unknown,
Unknown,
IE = 107,
[,
Description,
(,
Isle of Man,
Unknown,
Unknown,
IM = 108,
[,
Description,
(,
Israel,
Unknown,
Unknown,
IL = 109,
[,
Description,
(,
Italy,
Unknown,
Unknown,
IT = 110,
[,
Description,
(,
Jamaica,
Unknown,
Unknown,
JM = 111,
[,
Description,
(,
Japan,
Unknown,
Unknown,
JP = 112,
[,
Description,
(,
Jersey,
Unknown,
Unknown,
JE = 113,
[,
Description,
(,
Jordan,
Unknown,
Unknown,
JO = 114,
[,
Description,
(,
Kazakhstan,
Unknown,
Unknown,
KZ = 115,
[,
Description,
(,
Kenya,
Unknown,
Unknown,
KE = 116,
[,
Description,
(,
Kiribati,
Unknown,
Unknown,
KI = 117,
[,
Description,
(,
Korea (Democratic People's Republic of),
Unknown,
Unknown,
KP = 118,
[,
Description,
(,
Korea (Republic of),
Unknown,
Unknown,
KR = 119,
[,
Description,
(,
Kuwait,
Unknown,
Unknown,
KW = 120,
[,
Description,
(,
Kyrgyzstan,
Unknown,
Unknown,
KG = 121,
[,
Description,
(,
Lao People's Democratic Republic,
Unknown,
Unknown,
LA = 122,
[,
Description,
(,
Latvia,
Unknown,
Unknown,
LV = 123,
[,
Description,
(,
Lebanon,
Unknown,
Unknown,
LB = 124,
[,
Description,
(,
Lesotho,
Unknown,
Unknown,
LS = 125,
[,
Description,
(,
Liberia,
Unknown,
Unknown,
LR = 126,
[,
Description,
(,
Libya,
Unknown,
Unknown,
LY = 127,
[,
Description,
(,
Liechtenstein,
Unknown,
Unknown,
LI = 128,
[,
Description,
(,
Lithuania,
Unknown,
Unknown,
LT = 129,
[,
Description,
(,
Luxembourg,
Unknown,
Unknown,
LU = 130,
[,
Description,
(,
Macao,
Unknown,
Unknown,
MO = 131,
[,
Description,
(,
Macedonia (the former Yugoslav Republic of),
Unknown,
Unknown,
MK = 132,
[,
Description,
(,
Madagascar,
Unknown,
Unknown,
MG = 133,
[,
Description,
(,
Malawi,
Unknown,
Unknown,
MW = 134,
[,
Description,
(,
Malaysia,
Unknown,
Unknown,
MY = 135,
[,
Description,
(,
Maldives,
Unknown,
Unknown,
MV = 136,
[,
Description,
(,
Mali,
Unknown,
Unknown,
ML = 137,
[,
Description,
(,
Malta,
Unknown,
Unknown,
MT = 138,
[,
Description,
(,
Marshall Islands,
Unknown,
Unknown,
MH = 139,
[,
Description,
(,
Martinique,
Unknown,
Unknown,
MQ = 140,
[,
Description,
(,
Mauritania,
Unknown,
Unknown,
MR = 141,
[,
Description,
(,
Mauritius,
Unknown,
Unknown,
MU = 142,
[,
Description,
(,
Mayotte,
Unknown,
Unknown,
YT = 143,
[,
Description,
(,
Mexico,
Unknown,
Unknown,
MX = 144,
[,
Description,
(,
Micronesia (Federated States of),
Unknown,
Unknown,
FM = 145,
[,
Description,
(,
Moldova (Republic of),
Unknown,
Unknown,
MD = 146,
[,
Description,
(,
Monaco,
Unknown,
Unknown,
MC = 147,
[,
Description,
(,
Mongolia,
Unknown,
Unknown,
MN = 148,
[,
Description,
(,
Montenegro,
Unknown,
Unknown,
ME = 149,
[,
Description,
(,
Montserrat,
Unknown,
Unknown,
MS = 150,
[,
Description,
(,
Morocco,
Unknown,
Unknown,
MA = 151,
[,
Description,
(,
Mozambique,
Unknown,
Unknown,
MZ = 152,
[,
Description,
(,
Myanmar,
Unknown,
Unknown,
MM = 153,
[,
Description,
(,
Namibia,
Unknown,
Unknown,
NA = 154,
[,
Description,
(,
Nauru,
Unknown,
Unknown,
NR = 155,
[,
Description,
(,
Nepal,
Unknown,
Unknown,
NP = 156,
[,
Description,
(,
Netherlands,
Unknown,
Unknown,
NL = 157,
[,
Description,
(,
New Caledonia,
Unknown,
Unknown,
NC = 158,
[,
Description,
(,
New Zealand,
Unknown,
Unknown,
NZ = 159,
[,
Description,
(,
Nicaragua,
Unknown,
Unknown,
NI = 160,
[,
Description,
(,
Niger,
Unknown,
Unknown,
NE = 161,
[,
Description,
(,
Nigeria,
Unknown,
Unknown,
NG = 162,
[,
Description,
(,
Niue,
Unknown,
Unknown,
NU = 163,
[,
Description,
(,
Norfolk Island,
Unknown,
Unknown,
NF = 164,
[,
Description,
(,
Northern Mariana Islands,
Unknown,
Unknown,
MP = 165,
[,
Description,
(,
Norway,
Unknown,
Unknown,
NO = 166,
[,
Description,
(,
Oman,
Unknown,
Unknown,
OM = 167,
[,
Description,
(,
Pakistan,
Unknown,
Unknown,
PK = 168,
[,
Description,
(,
Palau,
Unknown,
Unknown,
PW = 169,
[,
Description,
(,
Palestine, State of,
Unknown,
Unknown,
PS = 170,
[,
Description,
(,
Panama,
Unknown,
Unknown,
PA = 171,
[,
Description,
(,
Papua New Guinea,
Unknown,
Unknown,
PG = 172,
[,
Description,
(,
Paraguay,
Unknown,
Unknown,
PY = 173,
[,
Description,
(,
Peru,
Unknown,
Unknown,
PE = 174,
[,
Description,
(,
Philippines,
Unknown,
Unknown,
PH = 175,
[,
Description,
(,
Pitcairn,
Unknown,
Unknown,
PN = 176,
[,
Description,
(,
Poland,
Unknown,
Unknown,
PL = 177,
[,
Description,
(,
Portugal,
Unknown,
Unknown,
PT = 178,
[,
Description,
(,
Puerto Rico,
Unknown,
Unknown,
PR = 179,
[,
Description,
(,
Qatar,
Unknown,
Unknown,
QA = 180,
[,
Description,
(,
R�union,
Unknown,
Unknown,
RE = 181,
[,
Description,
(,
Romania,
Unknown,
Unknown,
RO = 182,
[,
Description,
(,
Russian Federation,
Unknown,
Unknown,
RU = 183,
[,
Description,
(,
Rwanda,
Unknown,
Unknown,
RW = 184,
[,
Description,
(,
Saint Barth�lemy,
Unknown,
Unknown,
BL = 185,
[,
Description,
(,
Saint Helena, Ascension and Tristan da Cunha,
Unknown,
Unknown,
SH = 186,
[,
Description,
(,
Saint Kitts and Nevis,
Unknown,
Unknown,
KN = 187,
[,
Description,
(,
Saint Lucia,
Unknown,
Unknown,
LC = 188,
[,
Description,
(,
Saint Martin (French part),
Unknown,
Unknown,
MF = 189,
[,
Description,
(,
Saint Pierre and Miquelon,
Unknown,
Unknown,
PM = 190,
[,
Description,
(,
Saint Vincent and the Grenadines,
Unknown,
Unknown,
VC = 191,
[,
Description,
(,
Samoa,
Unknown,
Unknown,
WS = 192,
[,
Description,
(,
San Marino,
Unknown,
Unknown,
SM = 193,
[,
Description,
(,
Sao Tome and Principe,
Unknown,
Unknown,
ST = 194,
[,
Description,
(,
Saudi Arabia,
Unknown,
Unknown,
SA = 195,
[,
Description,
(,
Senegal,
Unknown,
Unknown,
SN = 196,
[,
Description,
(,
Serbia,
Unknown,
Unknown,
RS = 197,
[,
Description,
(,
Seychelles,
Unknown,
Unknown,
SC = 198,
[,
Description,
(,
Sierra Leone,
Unknown,
Unknown,
SL = 199,
[,
Description,
(,
Singapore,
Unknown,
Unknown,
SG = 200,
[,
Description,
(,
Sint Maarten (Dutch part),
Unknown,
Unknown,
SX = 201,
[,
Description,
(,
Slovakia,
Unknown,
Unknown,
SK = 202,
[,
Description,
(,
Slovenia,
Unknown,
Unknown,
SI = 203,
[,
Description,
(,
Solomon Islands,
Unknown,
Unknown,
SB = 204,
[,
Description,
(,
Somalia,
Unknown,
Unknown,
SO = 205,
[,
Description,
(,
South Africa,
Unknown,
Unknown,
ZA = 206,
[,
Description,
(,
South Georgia and the South Sandwich Islands,
Unknown,
Unknown,
GS = 207,
[,
Description,
(,
South Sudan,
Unknown,
Unknown,
SS = 208,
[,
Description,
(,
Spain,
Unknown,
Unknown,
ES = 209,
[,
Description,
(,
Sri Lanka,
Unknown,
Unknown,
LK = 210,
[,
Description,
(,
Sudan,
Unknown,
Unknown,
SD = 211,
[,
Description,
(,
Suriname,
Unknown,
Unknown,
SR = 212,
[,
Description,
(,
Svalbard and Jan Mayen,
Unknown,
Unknown,
SJ = 213,
[,
Description,
(,
Swaziland,
Unknown,
Unknown,
SZ = 214,
[,
Description,
(,
Sweden,
Unknown,
Unknown,
SE = 215,
[,
Description,
(,
Switzerland,
Unknown,
Unknown,
CH = 216,
[,
Description,
(,
Syrian Arab Republic,
Unknown,
Unknown,
SY = 217,
[,
Description,
(,
Taiwan, Province of China[a],
Unknown,
Unknown,
TW = 218,
[,
Description,
(,
Tajikistan,
Unknown,
Unknown,
TJ = 219,
[,
Description,
(,
Tanzania, United Republic of,
Unknown,
Unknown,
TZ = 220,
[,
Description,
(,
Thailand,
Unknown,
Unknown,
TH = 221,
[,
Description,
(,
Timor-Leste,
Unknown,
Unknown,
TL = 222,
[,
Description,
(,
Togo,
Unknown,
Unknown,
TG = 223,
[,
Description,
(,
Tokelau,
Unknown,
Unknown,
TK = 224,
[,
Description,
(,
Tonga,
Unknown,
Unknown,
TO = 225,
[,
Description,
(,
Trinidad and Tobago,
Unknown,
Unknown,
TT = 226,
[,
Description,
(,
Tunisia,
Unknown,
Unknown,
TN = 227,
[,
Description,
(,
Turkey,
Unknown,
Unknown,
TR = 228,
[,
Description,
(,
Turkmenistan,
Unknown,
Unknown,
TM = 229,
[,
Description,
(,
Turks and Caicos Islands,
Unknown,
Unknown,
TC = 230,
[,
Description,
(,
Tuvalu,
Unknown,
Unknown,
TV = 231,
[,
Description,
(,
Uganda,
Unknown,
Unknown,
UG = 232,
[,
Description,
(,
Ukraine,
Unknown,
Unknown,
UA = 233,
[,
Description,
(,
United Arab Emirates,
Unknown,
Unknown,
AE = 234,
[,
Description,
(,
United Kingdom of Great Britain and Northern Ireland,
Unknown,
Unknown,
GB = 235,
[,
Description,
(,
United States of America,
Unknown,
Unknown,
US = 236,
[,
Description,
(,
United States Minor Outlying Islands,
Unknown,
Unknown,
UM = 237,
[,
Description,
(,
Uruguay,
Unknown,
Unknown,
UY = 238,
[,
Description,
(,
Uzbekistan,
Unknown,
Unknown,
UZ = 239,
[,
Description,
(,
Vanuatu,
Unknown,
Unknown,
VU = 240,
[,
Description,
(,
Venezuela (Bolivarian Republic of),
Unknown,
Unknown,
VE = 241,
[,
Description,
(,
Viet Nam,
Unknown,
Unknown,
VN = 242,
[,
Description,
(,
Virgin Islands (British),
Unknown,
Unknown,
VG = 243,
[,
Description,
(,
Virgin Islands (U.S.),
Unknown,
Unknown,
VI = 244,
[,
Description,
(,
Wallis and Futuna,
Unknown,
Unknown,
WF = 245,
[,
Description,
(,
Western Sahara,
Unknown,
Unknown,
EH = 246,
[,
Description,
(,
Yemen,
Unknown,
Unknown,
YE = 247,
[,
Description,
(,
Zambia,
Unknown,
Unknown,
ZM = 248,
[,
Description,
(,
Zimbabwe,
Unknown,
Unknown,
ZW = 249,
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment