MyNet.Geography
19.0.0
dotnet add package MyNet.Geography --version 19.0.0
NuGet\Install-Package MyNet.Geography -Version 19.0.0
<PackageReference Include="MyNet.Geography" Version="19.0.0" />
<PackageVersion Include="MyNet.Geography" Version="19.0.0" />
<PackageReference Include="MyNet.Geography" />
paket add MyNet.Geography --version 19.0.0
#r "nuget: MyNet.Geography, 19.0.0"
#:package MyNet.Geography@19.0.0
#addin nuget:?package=MyNet.Geography&version=19.0.0
#tool nuget:?package=MyNet.Geography&version=19.0.0
<div align="center">
MyNet.Geography
<img src="MyNetGeography.png" alt="MyNet.Geography" width="96" height="96" />
ISO 3166 countries and continents, postal addresses, coordinates, and a pluggable country-flag provider contract.
</div>
<div align="center">
</div>
Features
| Feature | Description |
|---|---|
| ISO 3166 | Country and continent model |
| Addresses | Postal addresses and coordinates |
| Flags | Pluggable IFlagProvider contract |
| Core types | Shared geography model across the suite |
Installation
dotnet add package MyNet.Geography
Quick start
using MyNet.Geography;
var france = Country.France;
var isoAlpha2 = france.Alpha2; // "fr"
For flag images, add MyNet.Geography.Resources. For localized display names, add MyNet.Geography.Localization.
Related packages
Documentation
<div align="center">
<sub>
Copyright © 2016-2026 - Stéphane ANDRE. All Rights Reserved.
<br/>
Released under the MIT License.
</sub>
</div>
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- MyNet.Primitives (>= 19.0.0)
NuGet packages (5)
Showing the top 5 NuGet packages that depend on MyNet.Geography:
| Package | Downloads |
|---|---|
|
MyNet.Humanizer
Localized human-readable text for dates, enums, lists, geography, and common .NET types (display strings beyond raw ToString()). |
|
|
MyNet.Geography.Resources
Embedded multi-resolution country flag PNG assets and a default IFlagProvider implementation for MyNet.Geography. |
|
|
MyNet.Google
Google Maps integration: geocoding, directions, distance matrix queries, and map or Street View URL builders for .NET applications. |
|
|
MyNet.Fakers
Locale-aware fake data generators for names, addresses, emails, URLs, and related test fixtures built on MyNet.Generator and MyNet.Geography. |
|
|
MyNet.Geography.Localization
Localized country display names (satellite resources) and MyNet.Humanizer formatters for geography types in MyNet.Geography. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 19.0.0 | 39 | 5/29/2026 |