Demonstration of the use of for loops in C#