How would I go about looping through an array in an array. Something that looks a bit like this:
int[,]
This is the thing I want to achieve:
int[,] obj
for(int i = 0; i < obj.Length; i++) {}
Thanks!
How would I go about looping through an array in an array. Something that looks a bit like this:
int[,]
This is the thing I want to achieve:
int[,] obj
for(int i = 0; i < obj.Length; i++) {}
Thanks!
Just found the answer! All you need is a foreach block. All you have to do is: foreach (var item in itemArray) { }