System.Globalization Namespace

The System.Globalization namespace contains classes that define culture-related information, including the language, the sort orders for strings, the calendars, and the formats for currencies and numbers. It is implemented in Mscorlib.dll. The classes for this namespace are listed in Table A-14.

Table A-14. Classes in the System.Globalization Namespace 

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 ...

Get Microsoft® .NET Compact Framework (Core Reference) now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.