Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Get Region info of Moldova

I'm trying to obtain region info by ISO 3166-1 TwoLetters country name - "MD".

var r = new RegionInfo("MD");

But I'm obtaining the following exception:

Culture name 'MD' is not supported.

This is strange because Microsoft Table of supported countries Moldova is present:

http://msdn.microsoft.com/en-us/library/dd374073.aspx

like image 859
Oleksandr Shyshkov Avatar asked Nov 05 '13 10:11

Oleksandr Shyshkov


People also ask

Is there a difference between Moldova and Moldavia?

For a short time in the 1990s, at the founding of the Commonwealth of Independent States, the name of the current Republic of Moldova was also spelled Moldavia. After the dissolution of the Soviet Union, the country began to use the Romanian name, Moldova.

What country does Moldova belong to?

Sandwiched between Romania and Ukraine, Moldova emerged as an independent republic following the collapse of the Soviet Union in 1991. Moldova is one of the poorest countries in Europe, with its economy relying heavily on agriculture.

Is Moldova part of Russia or Romania?

During the Second World War it was occupied by the Soviet Union which reclaimed it from Romania. It joined the Union as the Moldavian ASSR, until the dissolution of the USSR. In 1991 the country declared independence as the Republic of Moldova.


1 Answers

According to the MSDN documentation on RegionInfo about the cultures names:

The predefined culture names are listed in the National Language Support (NLS) API Reference at the Go Global Developer Center.

When you go to National Language Support (NLS) API Reference, MD is not found in there.

like image 112
Szymon Avatar answered Oct 01 '22 00:10

Szymon