[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
Name | Description | |
---|---|---|
PairTFirst, TSecond |
Constructs a pair from two elements
|
Methods
Name | Description | |
---|---|---|
Equals |
Compares this pair and the other pair for element-wise equality.
| |
GetHashCode |
Returns a 32-bit signed integer hashcode for this pair.
(Overrides ValueTypeGetHashCode.) | |
ToString |
Returns a string representation of this pair.
(Overrides ValueTypeToString.) |
Fields
Name | Description | |
---|---|---|
First |
First element.
| |
Second |
Second element.
|
See Also