PairTFirst, TSecond Operators and Type Conversions |
The PairTFirst, TSecond generic type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() | Equality |
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.
|
![]() ![]() | (KeyValuePairTFirst, TSecond to PairTFirst, TSecond) |
Converts a KeyValuePair structure into a Pair. The
First element gets the Key, and the Second element gets the Value.
|
![]() ![]() | (PairTFirst, TSecond to KeyValuePairTFirst, TSecond) |
Converts a Pair to a KeyValuePair. The Key part of the KeyValuePair gets
the First element, and the Value part of the KeyValuePair gets the Second
elements.
|
![]() ![]() | Inequality |
Determines if two pairs are not equal. Two pairs are equal if the first and second elements
both compare equal using IComparable<T>.Equals or object.Equals.
|