/*
Learning C#
by Jesse Liberty
Publisher: O'Reilly
ISBN: 0596003765
*/
using System;
public class ForEmptyTester
{
public static void Main()
{
int counterVariable = 0; // initialization
for ( ;; )
{
Console.WriteLine(
"counter: {0} ", counterVariable++); // increment
if (counterVariable > 10) // test
break;
}
}
}