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