Compartilhar 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 the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, 4.1, and 4.2.

See Also

Reference

Array Class
Array Members
System Namespace