Hi,
I'm new to vb.net and experimenting with arrays.
I was wondering if it is possible to get "a dimension" from a multi-dimension array, like you can get an element from a single-dimension array.
I would like to do something like this (but that does not work) :
Or, as an alternative, can i get the lengths of the individual dimensions?
I'm new to vb.net and experimenting with arrays.
I was wondering if it is possible to get "a dimension" from a multi-dimension array, like you can get an element from a single-dimension array.
VB.NET:
Dim numbers(,) as Integer = {{1,2},{3,4},{5,6}}
I would like to do something like this (but that does not work) :
VB.NET:
for each row() as integer in numbers
for each number as integer in row
...
...
next
next
Or, as an alternative, can i get the lengths of the individual dimensions?