MyNet.Geography 19.0.0

dotnet add package MyNet.Geography --version 19.0.0
                    
NuGet\Install-Package MyNet.Geography -Version 19.0.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="MyNet.Geography" Version="19.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="MyNet.Geography" Version="19.0.0" />
                    
Directory.Packages.props
<PackageReference Include="MyNet.Geography" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add MyNet.Geography --version 19.0.0
                    
#r "nuget: MyNet.Geography, 19.0.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package MyNet.Geography@19.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=MyNet.Geography&version=19.0.0
                    
Install as a Cake Addin
#tool nuget:?package=MyNet.Geography&version=19.0.0
                    
Install as a Cake Tool

<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">

MIT License NuGet .NET

</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.



Documentation


<div align="center">

<sub>

Copyright © 2016-2026 - Stéphane ANDRE. All Rights Reserved.

<br/>

Released under the MIT License.

</sub>

</div>

Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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