Maha

Maha

  • NA
  • 0
  • 326k

Three dimensional array

Mar 31 2014 10:06 AM
int[,] ar = new int[2, 3] { { 1, 2, 3 }, { 4, 5, 6 } }

Above 2D array can be imagined like following way

1 2 3
4 5 6

2 rows and 3 columns
2*3 = 6 elements

How can we imagine following 3D array.

int[,,] ar = new int[2, 3, 2] {??? ???? ???? }


Answers (4)