Click or drag to resize
PairTFirst, TSecond Operators and Type Conversions

The PairTFirst, TSecond generic type exposes the following members.

Operators
  NameDescription
Public operatorStatic memberEquality
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.
Public operatorStatic member(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.
Public operatorStatic member(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.
Public operatorStatic memberInequality
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.
Top
See Also