Tuple(T1, T2).Equals Method
Returns a value that indicates whether the current Tuple(T1, T2) object is equal to a specified object.
Assembly: mscorlib (in mscorlib.dll)
The obj parameter is considered to be equal to the current instance under the following conditions:
It is a Tuple(T1, T2) object.
Its two components are of the same types as the current instance.
Its two components are equal to those of the current instance. Equality is determined by the default object equality comparer for each component.
The following example calls the method to determine whether any of the objects in an array of Tuple(T1, T2) objects are equal to one another. The output reflects the fact that the method returns true when comparing Tuple(T1, T2) objects whose components have equal values.