Skip to content

A C# helper class for resolving alpha-2, alpha-3 and numeric country codes to sountry records.

License

Notifications You must be signed in to change notification settings

Solidsoft-Reply/ISO-3166-Country-Codes

Repository files navigation

This simple library supports the resolution of ISO 3166-1 Alpha-2, Alpha-3 and numeric country codes to records containing country information, including the English and French short names of the country.

The code provides three methods to resolve codes:

  • GetCountryByAlpha2Code(string)
  • GetCountryByAlpha3Code(string)
  • GetCountryByNumericCode(string or int)

In each case, the method returns a record containing the full data for the given code, including English and French country names.

In addition, there are several read-only dictionaries relating country names and codes to country records.

About

A C# helper class for resolving alpha-2, alpha-3 and numeric country codes to sountry records.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published