Version

GetLength Method

Gets the number of elements in the specified dimension of the array.
Syntax
public abstract int GetLength( 
   int dimension
)

Parameters

dimension
The zero-based index of the dimension.

Return Value

The number of elements in the specified dimension.
Requirements

Target Platforms: Android 4.4+, iOS 8+

Development Environments: Visual Studio 2015+, Visual Studio for Mac Preview, Xamarin for Visual Studio 4.2+

See Also