Development · Native API migration preview · Coverage validation in progress Published release →

API Browser

Class

Culture

class Culture

Module: System.Globalization
Assembly: System.Runtime.dll
Source file: Culture.rvn

Inheritance: Object → Culture

Immutable, bounded formatting conventions; no ambient culture or locale resolver.

Properties

12 items
Static member: Current: Culture Resolves a fresh snapshot of the host preference with invariant fallback.
DateTimeFormat: DateTimeFormat Immutable formatter using this culture and its default calendar.
DefaultCalendar: Calendar Gregorian for all currently supported culture profiles.
Static member: EnglishUnitedKingdom: Culture English formatting conventions for the United Kingdom.
Static member: EnglishUnitedStates: Culture English formatting conventions for the United States.
Static member: HebrewIsrael: Culture Bounded Hebrew Israel conventions (he-IL), with Gregorian default. Select Calendar.Hebrew explicitly for Hebrew-calendar text.
Static member: Invariant: Culture Deterministic invariant conventions; Name is empty and Language is undetermined.
Language: Language Strongly typed language identity: und, sv, he or en. Invariant is not a natural language.
Name: string Empty for invariant, sv-SE for Swedish Sweden, or he-IL for Hebrew Israel.
NumberFormat: NumberFormat Immutable numeric conventions; retain the returned policy for repeated formatting.
OptionalCalendars: Calendar[] Fresh calendar selections supported by the explicit formatting policy, default first. Both calendars are available independently of language; this is not an OS locale inventory.
Static member: SwedishSweden: Culture Bounded Swedish Sweden conventions (sv-SE).

Methods

4 items
Equals(other: object?) -> bool Tests reference identity by default; an ordinary class may override equality. Inherited from Object.Equals
GetHashCode() -> int Returns a stable identity hash by default; an ordinary class may override it consistently with equality. Inherited from Object.GetHashCode
GetType() -> TypeInfo Returns metadata for the concrete runtime type of this instance. Inherited from Object.GetType
ToString() -> string Returns the concrete runtime type name for supported references, or display text from a class or boxed-struct override. Inherited from Object.ToString