liuaoran 5940182013 compdfkit(win) - 1.13 update | há 8 meses atrás | |
---|---|---|
.. | ||
lib | há 8 meses atrás | |
.signature.p7s | há 8 meses atrás | |
LICENSE.md | há 8 meses atrás | |
Nager.Country.3.1.1.nupkg | há 8 meses atrás | |
README.md | há 8 meses atrás | |
icon.png | há 8 meses atrás | |
readme.txt | há 8 meses atrás |
The Worldwirde Country Informations are available over the nuget package. The collection contains the Informations for 250 Countries.
If you need the translations of the countries you will find in the further nuget package Nager.Country.Translation
ICountryProvider countryProvider = new CountryProvider();
var countryInfo = countryProvider.GetCountry(Alpha2Code.DE);
//countryInfo.CommonName -> Germany
//countryInfo.Alpha3Code -> DEU
//countryInfo.NumericCode -> 276
//countryInfo.Region -> Europe
//countryInfo.SubRegion -> WesternEurope
//countryInfo...
ICountryProvider countryProvider = new CountryProvider();
var countryInfo = countryProvider.GetCountryByName("Germany");
//countryInfo.Alpha2Code -> DE
//countryInfo.Alpha3Code -> DEU
//countryInfo.NumericCode -> 276
//countryInfo.Region -> Europe
//countryInfo.SubRegion -> WesternEurope
//countryInfo..