System.Tuple<T1> Class

Represents a 1-tuple, or singleton.

See Also: Tuple<T1> Members

Syntax

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

Type Parameters

T1
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`1 class represents a 1-tuple, or singleton, which is a tuple that has a single component. A singleton is used comparatively rarely in application development.

You can instantiate a Tuple`1 object by calling either the Tuple`1.#ctor(`0) constructor or the static Tuple.Create``1(``0) method. You can retrieve the value of the tuple's single component by using the read-only Tuple`1.Item1 instance property.

Requirements

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