See Also: TextInfo Members
A writing system is the collection of scripts and orthographic rules required to represent a language as text. The System.Globalization.TextInfo class represents a writing system.
The application should use the CultureInfo.TextInfo property to obtain the System.Globalization.TextInfo object for a particular System.Globalization.CultureInfo object. If a security decision depends on a string comparison or a case-change operation, the application should use the CultureInfo.TextInfo property of the object returned by the CultureInfo.InvariantCulture property to ensure that the behavior of the operation is consistent regardless of the operating system culture settings.
The user might use the regional and language options portion of Control Panel to override the values associated with the current culture of Windows. 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 CultureInfo.UseUserOverride property is set to true, the property values of the objects returned by the CultureInfo.DateTimeFormat, CultureInfo.NumberFormat, and CultureInfo.TextInfo properties are also retrieved from the user settings. If the user settings are incompatible with the culture associated with the System.Globalization.CultureInfo, for example, if the selected calendar is not one of the CultureInfo.OptionalCalendars, the results of the methods and the values of the properties are undefined.