+ 4

how to calculate number of elements within multidimensional array

ex int[,,]= new int [5,7,8]; how many elements can above array contains

23rd Apr 2017, 7:47 AM
ronnie
ronnie - avatar
2 ответов
+ 8
5 * 7 * 8 = 280
23rd Apr 2017, 7:49 AM
Cyrus Ornob Corraya
Cyrus Ornob Corraya - avatar
+ 4
oh that was so easy thanks
23rd Apr 2017, 8:10 AM
ronnie
ronnie - avatar