System
Namespace with 10 public types
Structures
ValueTuple
The ValueTuple types (from arity 0 to 8) comprise the runtime implementation that underlies tuples in C# and struct tuples in F#.
Aside from created via language syntax, they are most easily created via the ValueTuple.Create factory methods.
The System.ValueTuple types differ from the System.Tuple types in that:
- they are structs rather than classes,
- they are mutable rather than readonly, and
- their members (such as Item1, Item2, etc) are fields rather than properties.
ValueTuple`1
Represents a 1-tuple, or singleton, as a value type.
ValueTuple`2
Represents a 2-tuple, or pair, as a value type.
ValueTuple`3
Represents a 3-tuple, or triple, as a value type.
ValueTuple`4
Represents a 4-tuple, or quadruple, as a value type.
ValueTuple`5
Represents a 5-tuple, or quintuple, as a value type.
ValueTuple`6
Represents a 6-tuple, or sixtuple, as a value type.
ValueTuple`7
Represents a 7-tuple, or sentuple, as a value type.
ValueTuple`8
Represents an 8-tuple, or octuple, as a value type.
Static Classes
TupleExtensions
Provides extension methods for instances to interop with C# tuples features (deconstruction syntax, converting from and to ).