CompareInfo.Version Property
Gets information about the version of Unicode used for comparing and sorting strings.
Namespace: System.Globalization
Assembly: mscorlib (in mscorlib.dll)
Property Value
Type: System.Globalization.SortVersionAn object that contains information about the Unicode version used for comparing and sorting strings.
The weight of individual characters, and therefore the way in which particular strings are compared or ordered, depends on the version of the Unicode specification that a particular version of the .NET Framework implements. In .NET Framework 4.5, this also depends on the host operating system, as the following table shows.
.NET Framework version | Operating system | Unicode version |
|---|---|---|
.NET Framework 4 | All operating systems | Unicode 5.0 |
.NET Framework 4.5 | Windows 7 | Unicode 5.0 |
.NET Framework 4.5 | Windows 8 | Unicode 6.0 |
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.