Array.LongLength Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets a 64-bit integer that represents the total number of elements in all the dimensions of the Array.

Namespace:   System
Assembly:  mscorlib (in mscorlib.dll)

[ComVisibleAttribute(false)]
public long LongLength { get; }

Property Value

Type: System.Int64

A 64-bit integer that represents the total number of elements in all the dimensions of the Array.

Retrieving the value of this property is an O(1) operation.

.NET Framework
Available since 1.1
Return to top
Show: