ValueTuple.ITuple.Length Property

Definition

Gets the length of this ValueTuple instance, which is always 0. There are no elements in a ValueTuple.

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

Property Value

0, the number of elements in this ValueTuple instance.

Implements

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