- 2
int[,] yy=new({2,3},{4,5},{4,6})
how can I know number of rows and column?!
3 Answers
+ 1
yy.Length and yy[0].Length for second dimension.
0
but I can't with only see code above?! know it
0
yy.Rank then you will get the dimension of the array
how can I know number of rows and column?!