Export (0) Print
Expand All

Comparer.Default Field

Represents an instance of Comparer that is associated with the Thread.CurrentCulture of the current thread. This field is read-only.

[Visual Basic]
Public Shared ReadOnly Default As Comparer
[C#]
public static readonly Comparer Default;
[C++]
public: static Comparer* Default;
[JScript]
public static var Default : Comparer;

Remarks

Comparison procedures use the Thread.CurrentCulture of the current thread to determine the sort order and casing rules. String comparisons might have different results depending on the culture. For more information on culture-specific comparisons, see the System.Globalization namespace and Developing World-Ready Applications.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework, Common Language Infrastructure (CLI) Standard

See Also

Comparer Class | Comparer Members | System.Collections Namespace | Thread.CurrentCulture | System.Globalization.CompareInfo

Show:
© 2014 Microsoft