You use Array.GetLength with the index of the dimension you wish to retrieve.
Related Contents:
- Why do C# multidimensional arrays not implement IEnumerable?
- How to get a dimension (slice) from a multidimensional array
- How to convert UTF-8 byte[] to string
- Reading CSV file and storing values into an array
- Remove element of a regular array
- Multidimensional Array [][] vs [,] [duplicate]
- How do I clone a range of array elements to a new array?
- How to delete an element from an array in C#
- Comparing two byte arrays in .NET
- printing all contents of array in C#
- 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
- How do I convert struct System.Byte byte[] to a System.IO.Stream object in C#?
- Merging two arrays in .NET
- Why we have both jagged array and multidimensional array?
- Declare a const array
- Check if a value is in an array (C#)
- Overhead of a .NET array?
- How to “flatten” or “index” 3D-array in 1D array?
- What interfaces do all arrays implement in C#?
- How can I print the contents of an array horizontally?
- What is the use of the ArraySegment class?
- Conversion from List to array T[]
- Convert 2 dimensional array
- Correlation of two arrays in C#
- Differences between a multidimensional array “[,]” and an array of arrays “[][]” in C#?
- .Net Data structures: ArrayList, List, HashTable, Dictionary, SortedList, SortedDictionary — Speed, memory, and when to use each? [closed]
- How do I convert an array of floats to a byte[] and back?
- Sorting an array of folder names like Windows Explorer (Numerically and Alphabetically) – VB.NET
- Difference between the System.Array.CopyTo() and System.Array.Clone()
- Error” Parameter is not valid ” while converting Bytes into Image
- How can I declare a two dimensional string array?
- Using LINQ to remove elements from a List
- Which .NET Dependency Injection frameworks are worth looking into? [closed]
- Passing arguments to C# generic new() of templated type
- What does a lock statement do under the hood?
- Difference between “\n” and Environment.NewLine
- Why can’t a duplicate variable name be declared in a nested local scope?
- Send email using System.Net.Mail through gmail
- Get size of file on disk
- what is the max limit of data into list in c#?
- FtpWebRequest FTP download with ProgressBar
- DbContext discard changes without disposing
- Why does this simple .NET console app have so many threads?
- Why does System.Threading.Timer stop on its own?
- In C# will the Finally block be executed in a try, catch, finally if an unhandled exception is thrown? [duplicate]
- Why are interfaces not [Serializable]?
- Convert from Oracle’s RAW(16) to .NET’s GUID