+ 1

C# - Array

What is arr.Rank?

13th Dec 2018, 8:53 AM
Seng Pichpitu
Seng Pichpitu - avatar
2 Answers
+ 1
Gets the rank (number of dimensions) of the Array. For example, a one-dimensional array returns 1, a two-dimensional array returns 2, and so on. https://code.sololearn.com/cv0QHKK5E7LV/#cs
13th Dec 2018, 9:38 AM
Prokopios Poulimenos
Prokopios Poulimenos - avatar
0
Thanks for your answer!
13th Dec 2018, 10:19 AM
Seng Pichpitu
Seng Pichpitu - avatar