CS
C# For Loop
When you know exactly how many times you want to loop through a block of code, use the for loop instead of a while loop:
CS
When you know exactly how many times you want to loop through a block of code, use the for loop instead of a while loop: