Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ValueTuple<T1, T2, T3>::Equals Method (ValueTuple<T1, T2, T3>)

 

Returns a value that indicates whether the current ValueTuple<T1, T2, T3> instance is equal to a specified ValueTuple<T1, T2, T3> instance.

Namespace:   System
Assembly:  mscorlib (in mscorlib.dll)

public:
virtual bool Equals(
	ValueTuple<T1, T2, T3> other
) sealed

Parameters

other
Type: System::ValueTuple<T1, T2, T3>

The value tuple to compare with this instance.

Return Value

Type: System::Boolean

true if the current instance is equal to the specified tuple; otherwise, false.

The other argument is considered to be equal to the current instance under the following conditions:

  • Its components are of the same types as those of the current instance.

  • Its components are equal to those of the current instance. Equality is determined by the default equality comparer for each component.

.NET Framework
Available since 4.7
Return to top
Show:
© 2017 Microsoft