Gets the number of elements in the specified dimension of the array.
public abstract int GetLength(
int
)
Parameters
- dimension
- The zero-based index of the dimension.
Return Value
The number of elements in the specified dimension.
Target Platforms: Android 4.4+, iOS 8+
Development Environments: Visual Studio 2015+, Visual Studio for Mac Preview, Xamarin for Visual Studio 4.2+