Yurttas/PL/OOL/CS/F/06/00/01/TA02.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 TA02
22  {
23    public static void Main(string[] args)
24    {
25      TA<int> o1 = new TA<int>(2);
26
27      TT<int> tI = new TT<int>();
28
29      tI.TE(o1,
30            4);
31
32      Console.WriteLine();
33
34      TA<int> o2 = new TA<int>(3,
35                               1);
36
37      tI.TF(o2,
38            5,
39            4);
40
41      Console.WriteLine();
42
43      TA<double> o3 = new TA<double>(2);
44
45      TT<int> tD = new TT<double>();
46
47      tD.TE(o3,
48            4);
49
50      Console.WriteLine();
51
52      TA<double> o4 = new TA<double>(3,
53                                     1);
54
55      tD.TF(o4,
56            5,
57            4);
58    }
59  }
60
61}