NumberFormatInfo.InvariantInfo Property


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

Namespace:   System.Globalization
Assembly:  mscorlib (in mscorlib.dll)

static member InvariantInfo : NumberFormatInfo with get

Property Value

Type: System.Globalization.NumberFormatInfo

A read-only object that is culture-independent (invariant).

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

The following example displays the default property values of the InvariantInfo.

No code example is currently available or this language may not be supported.

Universal Windows Platform
Available since 8
.NET Framework
Available since 1.1
Portable Class Library
Supported in: portable .NET platforms
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Return to top