EqualityComparerTEquals Method (T, T) |
When overridden in a derived class, determines whether two objects of type T are equal.
Namespace: System.Collections.GenericAssembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax public abstract bool Equals(
T x,
T y
)
Parameters
- x
- Type: T
The first object to compare. - y
- Type: T
The second object to compare.
Return Value
Type:
Booleantrue if the specified objects are equal; otherwise, false.
See Also