regioninfo Questions
2
When I use this code:
var ri = new RegionInfo("us");
var nativeName = ri.NativeName; // ᏌᏊ ᎢᏳᎾᎵᏍᏔᏅ ᏍᎦᏚᎩ
why is nativeName then the string "ᏌᏊ ᎢᏳᎾᎵᏍᏔᏅ ᏍᎦᏚᎩ" (in Cherokee)?
If I change to new Reg...
Dermatology asked 13/11, 2018 at 16:31
7
Solved
Is there a way to find a country's continent in C#, using the RegionInfo class or any other way?
For example, you give the country name "Denmark" and it returns "Europe".
Hundred asked 27/3, 2011 at 15:52
5
What is best practice for the scenario listed below?
We have an application which we would like to support multiple currencies. The software will respect the users locale and regional settings to ...
Chockfull asked 24/4, 2009 at 7:0
3
Solved
I'm displaying a country as part of some other information.
The country is read out of a database as a country code.
This is done like so:
Location location = new Location()
{
Company = reader....
Kumkumagai asked 9/2, 2015 at 10:59
4
Solved
I know how to convert an ISO 3166-2 code to the full English name, e.g. "US" to "United States" by using RegionInfo.
However, how can I do the opposite, i.e. that takes "United States" and returns...
Repressive asked 24/12, 2014 at 0:13
2
Solved
When I try to create a new RegionInfo with certain ISO 3166 country codes ("BD" for Bangladesh, "SO" for Somalia, "LK" for Sri Lanka), I get an ArgumentException that says it's not recognized.
Wha...
Jonathonjonati asked 21/10, 2008 at 21:41
6
Solved
I want to be able to get RegionInfo by doing the following:
new RegionInfo("United Kingdom");
but this throws an exception and says that it is not recognised.
This page on RegionInfo says that ...
Kirkwall asked 10/1, 2013 at 16:1
7
Solved
Assume that I only have a country code (en, de, fr) and I need to display the weekdays in this language.
I know about RegionInfo and CultureInfo - but I can't find a solution.
If I create a country...
Godred asked 23/3, 2010 at 14:12
1
© 2022 - 2025 — McMap. All rights reserved.