Nested loop
If a loop present inside another Loop, it is known as Nested Loop. In programming language, nesting of for, while, do-while and foreach loops are allowed and you can also put any nested loop inside any other type of loop like in a for loop you are allowed to put nested while loop. When it comes to Nested loop outer loop encloses the inner loop. The inner loop is a part of the outer loop and must start and finish within the body of outer loop. On each iteration of outer loop, the inner loop is executed completely.
Before studying Nested Loop, we need to be clear with loops. when it comes to Nested loop the most commonly used loop is For loop. So if you are not clear with the syntax, function of For loop take your time to revisit For Loop page.
CODE
EG 1 . Creating 2 dimensional array called cricket players. Printing out all elements in console
static void Main(string[] args) {
    string[,] cricketPlayers = new string[2, 3];
    cricketPlayers[0, 0] = "Sachin";
    cricketPlayers[0, 1] = "Ramesh";
    cricketPlayers[0, 2] = "Tendulkar";
    cricketPlayers[1, 0] = "Mahendra";
    cricketPlayers[1, 1] = "Singh";
    cricketPlayers[1, 2] = "Dhoni";
    for (int i = 0;i < 2;i++) //To manage row
    {
        for (int j=0;j < 3;j++) //To manage column
        {
            Console.WriteLine(cricketPlayers[i,j]);
        }
    }
}
(Click Here, For more exercises)