Initializes a new instance of the CultureInfo class based on the culture specified by name.
Assembly: mscorlib (in mscorlib.dll)
For a list of predefined culture names, see the National Language Support (NLS) API Reference at the Go Global Developer Center.
If name is not a valid culture name, the constructor throws a CultureNotFoundException.
If name is the name of the current system culture, the CultureInfo object instantiated by this method reflects any customizations that the user may have made to the system's culture information. For example, the user might choose to display the date in a different format or to use a currency other than the default for the culture. If the user settings are incompatible with the culture associated with the CultureInfo object (for example, if the selected calendar is not a member of the current culture's OptionalCalendars array), the results of the methods and the values of the properties are undefined.
If the culture identifier associated with the specified culture name does not match the culture identifier of the current Windows culture, this constructor creates a CultureInfo object that uses information for the specified culture that is supplied by the operating system.