For Loop Tester

image_pdfimage_print

/*
Learning C#
by Jesse Liberty

Publisher: O'Reilly
ISBN: 0596003765
*/
using System;
public class ForTester
{

public static void Main()
{
for (int counter=0; counter<10; counter++) { Console.WriteLine( "counter: {0} ", counter); } } } [/csharp]