Yurttas/PL/OOL/CS/F/04/00/AA00.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
14
15using System;
16
17namespace ABC
18{
19  public class AA00
20  {
21    public static void Main(string[] args)
22    {
23      A A0 = new A();
24
25      Console.WriteLine("A0 -");
26      Console.WriteLine();
27
28      Console.WriteLine(A0.I1);
29      Console.WriteLine(A0.I2);
30      Console.WriteLine();
31
32      A0.I1 = 5;
33      A0.I2 = 6;
34
35      Console.WriteLine(A0.I1);
36      Console.WriteLine(A0.I2);
37      Console.WriteLine();
38
39      A0.MA1(2);
40
41      A0.Output();
42
43      AA AA0 = new AA();
44
45      Console.WriteLine("AA0 -");
46      Console.WriteLine();
47
48      Console.WriteLine(AA0.I1);
49      Console.WriteLine(AA0.I2);
50      Console.WriteLine(AA0.J1);
51
52      AA0.MA1(3);
53
54      AA0.Output();
55    }
56  }
57}