Yurttas/PL/OOL/CS/F/03/01/20/00/A00.cs

From ZCubes Wiki
Jump to navigation Jump to search
 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 *  A00.cs
14 */
15
16
17using System;
18using System.Collections;
19
20public class A00
21{
22  public static void Main(string[] args)
23  {
24    A G = new A();
25
26    int NA1 = G.GetSA1();
27
28    Console.WriteLine("NA1 = {0}", NA1);
29
30    ArrayList AL1 = G.GetA1();
31
32    Console.WriteLine("--");
33
34    foreach(int i in AL1) 
35      Console.WriteLine("{0}", i);
36    Console.WriteLine();
37
38    int NA2 = G.GetSA2();
39
40    Console.WriteLine("NA2 = {0}", NA2);
41
42    string S2 = G.GetA2();
43
44    Console.WriteLine("--");
45    Console.WriteLine("{0}", S2);
46    Console.WriteLine();
47  }
48}