Yurttas/PL/OOL/CS/F/02/05/00/A02.cs

 1/**
 2 *  Copyright(C) 2003
 3 *  All Rights Reserved. Salih Yurttas, ZCubes, BitsOfCode Software Systems, Inc..
 4 *
 5 *  Permission to use, copy, modify, and distribute this
 6 *  software and its documentation for EDUCATIONAL purposes
 7 *  and without fee is hereby granted provided that this
 8 *  copyright notice appears in all copies.
 9 *
10 *  date   : September 1, 2003.
11 *  authorĀ : Salih Yurttas.
12 *
13 */
14
15
16using System;
17
18namespace A
19{
20
21  public class A02
22  {
23    public static void PrintArgs(string[] args)
24    {
25      int i = 0;
26
27      foreach(string s in args)
28        Console.WriteLine("args[{0}] = {1}", i++, s);
29    }
30
31    public static void Main(string[] args)
32    {
33      PrintArgs(args);
34    }
35  }
36
37}