Simplest while
/* * C# Programmers Pocket Consultant * Author: Gregory S. MacBeth * Email: gmacbeth@comporium.net * Create Date: June 27, 2003 * Last Modified Date: */ using System; namespace Client.Chapter_4___Program_Control { public class Whiles { static void Main(string[] args) { int a = 0; while(a > 10) { a++; Console.WriteLine(a); } } } }