automatically construct for loop c# code example Example: repeat 10 timesw c# for (int i = 0; i < 10; i++) { }