Class Tuple<T1, T2>
Represents a 2-tuple, or pair.
Inheritance
System.Object
Tuple<T1, T2>
Namespace: RSG
Syntax
public class Tuple<T1, T2>
Type Parameters
Name | Description |
---|---|
T1 | The type of the tuple's first component. |
T2 | The type of the tuple's second component. |
Properties
Item1
Gets the value of the current tuple's first component.
Declaration
public T1 Item1 { get; }
Property Value
Type | Description |
---|---|
T1 |
Item2
Gets the value of the current tuple's second component.
Declaration
public T2 Item2 { get; }
Property Value
Type | Description |
---|---|
T2 |