/*
Learning C#
by Jesse Liberty
Publisher: O'Reilly
ISBN: 0596003765
*/
using System;
publicclass WhileTester
{
publicstaticvoid Main()
{
int counterVariable = 0;
// while the counter variable is less than 10
// print out its value
while (counterVariable < 10)
{
Console.WriteLine("counterVariable: {0}",counterVariable);
counterVariable++;
}
}
}