how to repeat something in c# code example Example: repeat 10 timesw c# for (int i = 0; i < 10; i++) { }