Determines whether the specified objects are equal.
- x
- First T to compare.
- y
- Second T to compare.
true if the specified objects are equal; otherwise, false.
An implementation of Equals(T,T) shall satisfy the following: The equality function shall be be reflexive, so x.Equals(x) is true; symmetric, so x.Equals(y) and y.Equals(x); and transitive, so x.Equals(y) and y.Equals(z) implies x.Equals(z); for any values x, y and z for which these expressions are defined.
Namespace: System.Collections.Generic
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0