PairTFirst, TSecondEquals Method (PairTFirst, TSecond) |
Determines if this pair is equal to another pair. The pair is 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 bool Equals(
Pair<TFirst, TSecond> other
)
public:
bool Equals(
Pair<TFirst, TSecond> other
)
Parameters
- other
- Type: X3Platform.CollectionsPairTFirst, TSecond
Pair to compare with for equality.
Return Value
Type:
BooleanTrue if the pairs are equal. False if the pairs are not equal.
See Also