I saw this code from stack overflow
int[,] matrix = new int[5, 10];
int row = matrix.GetLength(0);
int col = matrix.GetLength(1);
for (int i = 0; i < row * col; i++)
{
matrix[i / col , i % col] = i + 1;
}
and someone say that it`ll make nested loop. I was trying to crack this code, but I cannot. somebody please explain how this code works.