GOA - System.Collections.Comparer

Comparer Class


Compares two objects for equivalence, where string comparisons are case-sensitive. This class cannot be inherited.

Definition

public sealed class Comparer: Object, IComparer

Members Table

MethodDescription
ComparePerforms a case-sensitive comparison of two objects of the same type and returns a value indicating whether one is less than, equal to or greater than the other.
EqualsOverloaded. Compares two objects to determine if they are equal. (Inherited from Object)
GetHashCodeServes as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object)
GetTypeGets the Type of the current instance. (Inherited from Object)
ReferenceEqualsDetermines whether the specified Object instances are the same instance. (Inherited from Object)
ToStringReturns a String that represents the current Object. (Inherited from Object)
FieldDescription
DefaultGets the Comparer used by default.

Inheritance Hierarchy

Object
Comparer

Class Information

NamespaceSystem.Collections
Flash Librarycorlib.scl
Flash Library Version2.0.0.2466
Silverlight LibrarySystem.Windows.Forms.dll



© 2003-2007 NETiKA Technologies. All rights reserved.