✅ help with 2D arrays
How would i loop thorugh a 2d array and print their values instead of their index? this is hat i have so far
8 Replies
this doesn't even compile
how do i fix this
you need 2 loops, one nested inside the other
the outer loops over dimension 0, the inner loops over dimension 1
oh
you get their lengths via
arr.GetLength(0)
, arr.GetLength(1)
oh so no foreach loop?
no
ok
thanks