System.Globalization.NumberFormatInfo.InvariantInfo Property

Gets a read-only System.Globalization.NumberFormatInfo object that is culture-independent (invariant).

Syntax

public static NumberFormatInfo InvariantInfo { get; }

Value

A read-only System.Globalization.NumberFormatInfo with property values which are universally supported. The property values of the returned System.Globalization.NumberFormatInfo are not impacted by changes to the current culture.

Remarks

This System.Globalization.NumberFormatInfo object returned by this property does not change, regardless of the current culture. It represents the formatting conventions of the invariant culture, which is a culture associated with the English language but not with any country/region. The invariant culture is used in formatting operations that are culture-independent or that produce result strings suitable for display across multiple cultures.

Requirements

Namespace: System.Globalization
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0