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