Simplest for
/* * 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 Fors { static void Main(string[] args) { for (int a = 0; a < 10; a++) { Console.WriteLine(a); } } } }