- 2

int[,] yy=new({2,3},{4,5},{4,6})

how can I know number of rows and column?!

20th Sep 2016, 8:55 AM
Mohamed Hassan
Mohamed Hassan - avatar
3 Answers
+ 1
yy.Length and yy[0].Length for second dimension.
20th Sep 2016, 6:36 PM
Colin Raaijmakers
Colin Raaijmakers - avatar
0
but I can't with only see code above?! know it
20th Sep 2016, 7:19 PM
Mohamed Hassan
Mohamed Hassan - avatar
0
yy.Rank then you will get the dimension of the array
21st Sep 2016, 6:54 AM
Minickyi