-4

visual representation of arrays

did I visualize 1D and 2D arrays correctly? if so, can you help with rendering a 3D and toothed array in this style?

John Alexiou
  • 28,472
  • 11
  • 77
  • 133
Volodymyr
  • 82
  • 8
  • A 3D array is an array of 2D arrays, just as a 2D array is an array of 1D arrays; draw accordingly. – Scott Hunter Jul 13 '22 at 17:15
  • I wonder if the pictures [here](https://stackoverflow.com/questions/12567329/multidimensional-array-vs) will help you understand. – Wyck Jul 13 '22 at 19:26

1 Answers1

1

Yes c# stores 2D arrays in row-major form (row by row). So the graphic looks correct.

John Alexiou
  • 28,472
  • 11
  • 77
  • 133