forever loop c# code example Example: how to make infinite loop in c# for (int a = 0; a < 50; a--) { // Whatever You Want To Do. }