- Access Array with an Array of Indices
- int[,] map = sampleMap;
- int[] position = { 1, 2 };
- sampleObject = map[position]; // This line won't work. "cannot implicitly convert type 'int[]' to 'int'"
- sampleObject = map[position[1], position[2]]
- map[position[1], position[2], position[3], ..., position[10]]
- map[position]
- 26 / 20 = 1
- 26 % 20 - 1 = 5