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