Enumerate Culture Info?

  • Thread starter Thread starter localhost
  • Start date Start date
L

localhost

I am looking for a way to enumerate all if the CultureInfo values
supported by the .NET Framework. Is there a CultureInfo collection?

I can do this:
CultureInfo svCulture = new CultureInfo(0x440A,false);
NumberFormatInfo svFormat =
new CultureInfo( 0x440A,false ).NumberFormat;
string showMoney = svFormat.CurrencySymbol + "5".ToString(svFormat);


But I want to do it for every CultureInfo without having to hard-code
the byte value (0x440A in this case).


Thanks.
 
I am looking for a way to enumerate all if the CultureInfo values
supported by the .NET Framework. Is there a CultureInfo collection?

CultureInfo.GetCultures()



Mattias
 
Back
Top