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

Revision as of 08:11, 7 November 2013 by MassBot1 (talk | contribs) (Created page with "<syntaxhighlight lang="csharp" line start="1" enclose="div">/** * Copyright(C) 2004 * All Rights Reserved. Salih Yurttas, ZCubes, BitsOfCode Software Systems, Inc.. * * ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
 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 IDA00
22  {
23    public static void Main(string[] args)
24    {
25      IA o1 = new IA(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      IA o2 = new IA(3,
40                     1);
41
42      Console.WriteLine("\no2 -");
43
44      Console.WriteLine(o2.A0);
45      Console.WriteLine(o2.A1);
46
47      DA o3 = new DA(2);
48
49      Console.WriteLine("\no3 -");
50      Console.WriteLine(o3.A0);
51      Console.WriteLine(o3.A1);
52
53      o3.A0 = 4;
54      o3.A0 = 7;
55
56      Console.WriteLine("\no3 -");
57
58      Console.WriteLine(o3.A0);
59      Console.WriteLine(o3.A1);
60
61      DA o4 = new DA(3,
62                     1);
63
64      Console.WriteLine("\no4 -");
65
66      Console.WriteLine(o4.A0);
67      Console.WriteLine(o4.A1);
68    }
69  }
70
71}