System.ValueTuple

E697486

System.ValueTuple is a .NET value type that provides lightweight, mutable tuples for grouping multiple values without defining a custom type.

Jump to: Statements Referenced by

Statements (47)

Predicate Object
instanceOf .NET struct
tuple type
value type
definedInAssembly System.Runtime.dll NERFINISHED
System.ValueTuple.dll NERFINISHED
definedInNamespace System
hasArityOverloads 1 to 8
hasDesignGoal better language integration
improved performance over System.Tuple
low allocation overhead
hasFeature deconstruction syntax support in C#
field-based members (Item1, Item2, etc.)
named elements via C# syntax
pattern matching support in C#
implementsInterface System.Collections.IStructuralComparable
System.Collections.IStructuralEquatable
System.IComparable NERFINISHED
System.IComparable`1 NERFINISHED
System.IEquatable NERFINISHED
introducedIn .NET Core 1.0 NERFINISHED
.NET Framework 4.7 NERFINISHED
introducedInLanguageVersion C# 7.0 NERFINISHED
isAllocatedOnHeapByDefault false
isAlternativeTo System.Tuple NERFINISHED
isBackedBy struct fields, not properties
isLightweightTuple true
isMoreEfficientThan System.Tuple NERFINISHED
isMutable true
isPartOf .NET Base Class Library NERFINISHED
isPreferredTupleTypeIn modern C# code
isReferenceType false
isSerializableIn .NET Core 2.0 and later NERFINISHED
.NET Standard 2.0 and later
isSupportedByLanguage C# NERFINISHED
isSupportedByLanguage F# NERFINISHED
VB.NET NERFINISHED
isUsedFor grouping multiple values
returning multiple values from methods
temporary data grouping
isValueType true
requiresNuGetPackageOn .NET Framework versions before 4.7
supportsDeconstruction true
supportsEquality true
supportsGenerics true
supportsItemAccessByName true
supportsItemAccessByPosition true
supportsUpToElements 8

Referenced by (1)

Full triples — surface form annotated when it differs from this entity's canonical label.

System containsType System.ValueTuple