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

Definition

Gets the number of elements in the Tuple.

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

Property Value

The number of elements in the Tuple.

Implements

Remarks

The ITuple.Length property is an explicit interface implementation. To call it, you must cast or convert the Tuple<T1,T2,T3,T4,T5,T6,T7,TRest> type 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