The System.Globalization namespace contains classes that define culture-related information, including the language, the country/region, the calendars in use, the format patterns for dates, currency, and numbers, and the sort order for strings. These classes are useful for writing globalized (internationalized) applications. Classes like StringInfo and TextInfo provide advanced globalization functionalities, such as surrogate support and text element processing.
Namespace hierarchy
Classes
| Class |
Description |
| Calendar |
Represents time in divisions, such as weeks, months, and years. |
| CompareInfo |
Implements a set of methods for culture-sensitive string comparisons. |
| CultureInfo |
Represents information about a specific culture including the names of the culture, the writing system, and the calendar used, as well as access to culture-specific objects that provide information for common operations, such as formatting dates and sorting strings. |
| DateTimeFormatInfo |
Defines how DateTime values are formatted and displayed, depending on the culture. |
| DaylightTime |
Defines the period of daylight-saving time. |
| GregorianCalendar |
Represents the Gregorian calendar. |
| HebrewCalendar |
Represents the Hebrew calendar. |
| HijriCalendar |
Represents the Hijri calendar. |
| JapaneseCalendar |
Represents the Japanese calendar. |
| JulianCalendar |
Represents the Julian calendar. |
| KoreanCalendar |
Represents the Korean calendar. |
| NumberFormatInfo |
Defines how numeric values are formatted and displayed, depending on the culture. |
| RegionInfo |
Contains information about the country/region. |
| SortKey |
Represents the result of mapping a string to its sort key. |
| StringInfo |
Provides functionality to split a string into text elements and to iterate through those text elements. |
| TaiwanCalendar |
Represents the Taiwan Calendar. |
| TextElementEnumerator |
Enumerates the text elements of a string. |
| TextInfo |
Defines properties and behaviors, such as casing, that are specific to a writing system. |
| ThaiBuddhistCalendar |
Represents the Thai Buddhist calendar. |
Enumerations
See Also
.NET Framework Class Library