for (int counter = 0; counter<10;) { Console.WriteLine( "counter: {0} ", counter); // Do more work here counter++; // increment counter }