PairTFirst, TSecondEquality Operator |
Determines if two pairs are equal. Two pairs are equal if the first and second elements
both compare equal using IComparable<T>.Equals or object.Equals.
Namespace: X3Platform.CollectionsAssembly: X3Platform.Support (in X3Platform.Support.dll) Version: 1.0.0.0 (2.0.0.0)
Syntaxpublic static bool operator ==(
Pair<TFirst, TSecond> pair1,
Pair<TFirst, TSecond> pair2
)
public:
static bool operator ==(
Pair<TFirst, TSecond> pair1,
Pair<TFirst, TSecond> pair2
)
Parameters
- pair1
- Type: X3Platform.CollectionsPairTFirst, TSecond
First pair to compare. - pair2
- Type: X3Platform.CollectionsPairTFirst, TSecond
Second pair to compare.
Return Value
Type:
BooleanTrue if the pairs are equal. False if the pairs are not equal.
See Also