You use Array.GetLength with the index of the dimension you wish to retrieve.
More Related Contents:
- Why do C# multidimensional arrays not implement IEnumerable?
- How to get a dimension (slice) from a multidimensional array
- How to copy a row of values from a 2D array into a 1D array?
- How to convert UTF-8 byte[] to string
- Reading CSV file and storing values into an array
- Remove element of a regular array
- Comparing two byte arrays in .NET
- Easiest way to compare arrays in C#
- How do I concatenate two arrays in C#?
- How do arrays in C# partially implement IList?
- .NET / C# – Convert char[] to string
- Merging two arrays in .NET
- Check if a value is in an array (C#)
- Overhead of a .NET array?
- How to “flatten” or “index” 3D-array in 1D array?
- How can I print the contents of an array horizontally?
- What is the use of the ArraySegment class?
- Conversion from List to array T[]
- .Net Data structures: ArrayList, List, HashTable, Dictionary, SortedList, SortedDictionary — Speed, memory, and when to use each? [closed]
- Correlation of two arrays in C#
- Sorting an array of folder names like Windows Explorer (Numerically and Alphabetically) – VB.NET
- Wildcard equivalent in C# generics
- What interfaces do all arrays implement in C#?
- Convert 2 dimensional array
- Differences between a multidimensional array “[,]” and an array of arrays “[][]” in C#?
- C# multidimensional arrays iteration
- How can I declare a two dimensional string array?
- Why do arrays in .net only implement IEnumerable and not IEnumerable?
- Using XmlSerializer with an array in the root element
- Is it possible to extend arrays in C#?