Demonstrate the for loop
/* C#: The Complete Reference by Herbert Schildt Publisher: Osborne/McGraw-Hill (March 8, 2002) ISBN: 0072134852 */ // Demonstrate the for loop. using System; public class ForDemo { public static void Main() { int count; for(count = 0; count < 5; count = count+1) Console.WriteLine("This is count: " + count); Console.WriteLine("Done!"); } }