Click or drag to resize
ArrayLength Property
Gets a 32-bit integer that represents the total number of elements in all the dimensions of the Array.

Namespace: System
Assembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax
C#
public int Length { get; }

Return Value

Type: Int32
A 32-bit integer that represents the total number of elements in all the dimensions of the Array; zero if there are no elements in the array.
See Also