Share via


Array.Length Property

Gets a 32-bit integer that represents the total number of objects in all the dimensions of a specific array.

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

Syntax

public int Length { get; }

Property Value

A 32-bit integer that represents the total number of elements in all the dimensions of the array.

Version Information

Available in .NET Micro Framework version 2.0, 2.5

See Also

Reference

Array Class
Array Members
System Namespace