System.Tuple<T1,T2,T3> Class

Represents a 3-tuple, or triple.

See Also: Tuple<T1,T2,T3> Members

Syntax

public class Tuple<T1, T2, T3> : IStructuralComparable, IStructuralEquatable, IComparable, ITuple

Type Parameters

T1
Documentation for this section has not yet been entered.
T2
Documentation for this section has not yet been entered.
T3
Documentation for this section has not yet been entered.

Remarks

A tuple is a data structure that has a specific number and sequence of values. The Tuple`3 class represents a 3-tuple, or triple, which is a tuple that has three components.

You can instantiate a Tuple`3 object by calling either the Tuple`3.#ctor(`0, `1, `2) constructor or the static Tuple.Create``3(``0, ``1, ``2) method. You can retrieve the values of the tuple's components by using the read-only Tuple`3.Item1, Tuple`3.Item2, and Tuple`3.Item3 instance properties.

Tuples are commonly used in four different ways:

Requirements

Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 4.0.0.0