get country/region native name
Published: 11. October 2011 | Updated: 11. October 2011License: Microsoft Public License (MS-PL)
Categories: Globalization » Regions
Tags: C# Globalization
Import namespace
using System.Globalization;
Code
var culture = CultureInfo.GetCultureInfo("cs-CZ"); var regionInfo = new RegionInfo(culture.Name); string nativeName = regionInfo.NativeName; Console.WriteLine(nativeName);Console Output:
Česká republika
| Send us feedback about this snippet » |





