ValueTuple<T1,T2,T3,T4,T5,T6,T7>.ITuple.Length Property

Definition

Gets the number of elements in the ValueTuple.

C#
int System.Runtime.CompilerServices.ITuple.Length { get; }

Property Value

7, the number of elements in a ValueTuple<T1,T2,T3,T4,T5,T6,T7> object.

Implements

Remarks

The ValueTuple<T1,T2,T3,T4,T5,T6,T7>.ITuple.Length property is an explicit interface implementation. To call it, you must cast or convert the ValueTuple<T1,T2,T3,T4,T5,T6,T7> object to an ITuple interface object.

Applies to

Product Versions
.NET Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Framework 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.1