Example (in C-style pseudocode):
int[][] array = some collection of data
for( int i = 0; i < array.length; ++i ) { // loop through first dimension
for( int j = 0; j < array[0].length; ++j ) { // loop through second dimension
print array[i][j]
}
}