System.ValueTuple

E697486

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

All labels observed (5)

Label Occurrences
System.ValueTuple canonical 2
System.ValueTuple.dll 1
ValueTuple`1 1

How this entity was disambiguated

Statements (47)

Predicate Object
instanceOf .NET struct
tuple type
value type
definedInAssembly System.Runtime.dll
System.ValueTuple.dll
linked to: System.ValueTuple
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
System.IComparable`1
linked to: System.IComparable

System.IEquatable
linked to: System.IEquatable`1
introducedIn .NET Core 1.0
linked to: .NET Core

.NET Framework 4.7
linked to: .NET Framework
introducedInLanguageVersion C# 7.0
isAllocatedOnHeapByDefault false
isAlternativeTo System.Tuple
isBackedBy struct fields, not properties
isLightweightTuple true
isMoreEfficientThan System.Tuple
isMutable true
isPartOf .NET Base Class Library
isPreferredTupleTypeIn modern C# code
isReferenceType false
isSerializableIn .NET Core 2.0 and later
linked to: .NET Core

.NET Standard 2.0 and later
isSupportedByLanguage C#
isSupportedByLanguage F#
VB.NET
linked to: Visual Basic .NET
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

How these facts were elicited

Referenced by (6)

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

System containsType System.ValueTuple
System.ValueTuple definedInAssembly System.ValueTuple.dll
linked to: System.ValueTuple
IStructuralComparable usedBy System.ValueTuple
IStructuralComparable implementedBy ValueTuple`1
linked to: System.ValueTuple
IStructuralComparable implementedBy ValueTuple`5
linked to: System.ValueTuple
IStructuralComparable implementedBy ValueTuple`6
linked to: System.ValueTuple