All about Arrays in C#—foreach Statement with Multidimensional Arrays
Microsoft .NET Framework, ASP.NET, Visual C# (CSharp, C Sharp, C-Sharp) Developer Training, Visual Studio
The foreach Statement with Multidimensional Arrays
In a multidimensional array, the elements are processed in the order in which the rightmost index is incremented fastest. When the index has gone from 0 to length - 1, the next index to the left is incremented, and the indexes to the right are reset to 0.
|

