Yurttas/PL/OOL/CS/F/06/00/01/DA00.cs

 1/**
 2 *  Copyright(C) 2004
 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, 2004
11 *  @authorĀ : Salih Yurttas
12 *
13 */
14
15
16using System;
17
18namespace ID
19{
20
21  public class DA00
22  {
23    public static void Main(string[] args)
24    {
25      DA o1 = new DA(2);
26
27      Console.WriteLine("o1 -");
28      Console.WriteLine(o1.A0);
29      Console.WriteLine(o1.A1);
30
31      o1.A0 = 4;
32      o1.A0 = 7;
33
34      Console.WriteLine("\no1 -");
35
36      Console.WriteLine(o1.A0);
37      Console.WriteLine(o1.A1);
38
39      DA o2 = new DA(3,
40                     1);
41
42      Console.WriteLine("\no2 -");
43
44      Console.WriteLine(o2.A0);
45      Console.WriteLine(o2.A1);
46    }
47  }
48
49}