Using the CurrentUICulture PropertyThe
CultureInfo.CurrentUICulture property is a per-thread setting that returns the current user interface culture. This property is used by the
ResourceManager class to look up culture-specific resources at run time. You can use a neutral or specific culture, or the
InvariantCulture to set the
CurrentUICulture property. You can use the
Thread.CurrentThread property to set
CurrentCulture. For more information, see the examples provided later in this topic.
Using the CurrentCulture PropertyThe
CultureInfo.CurrentCulture property is a per-thread setting that determines the default formats for dates, times, currency, and numbers, the sorting order of text, string comparisons, and casing. The
CurrentCulture property is not a language setting. It contains only data related to the standard settings for a geographical region. Therefore, the
CurrentCulture property can only be set to a specific culture or to the
InvariantCulture. You can use the
Thread.CurrentThread property to set
CurrentCulture. For more information, see the examples provided later in this topic.