PairTFirst, TSecond StructureNaiad Help

[This is preliminary documentation and is subject to change.]

Pair of two elements

Namespace: Microsoft.Research.Naiad
Assembly: Microsoft.Research.Naiad (in Microsoft.Research.Naiad.dll) Version: 0.5.0.0 (0.5.0.0)
Syntax

C#
public struct Pair<TFirst, TSecond> : IEquatable<Pair<TFirst, TSecond>>

Type Parameters

TFirst
The first element type.
TSecond
The second element type.

The PairTFirst, TSecond type exposes the following members.

Constructors

  NameDescription
Public methodPairTFirst, TSecond
Constructs a pair from two elements
Top
Methods

  NameDescription
Public methodEquals
Compares this pair and the other pair for element-wise equality.
Public methodGetHashCode
Returns a 32-bit signed integer hashcode for this pair.
(Overrides ValueTypeGetHashCode.)
Public methodToString
Returns a string representation of this pair.
(Overrides ValueTypeToString.)
Top
Fields

  NameDescription
Public fieldFirst
First element.
Public fieldSecond
Second element.
Top
See Also

Reference