The CultureInfo class of the .NET Framework SDK provides
access to the properties of a locale. An instance of the CultureInfo class can
be created by passing the culture name as a string parameter.
The following code can be used to create a CultureInfo
instance for French spoken in France.
Listing 11
CultureInfo c = new CultureInfo("en-FR");
The following code can be used to create a CultureInfo
instance for UK English locale.
Listing 12
CultureInfo c = new CultureInfo("en-GB");