Yurttas/PL/OOL/CS/F/06/00/02/TA04.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 TA04
22  {
23    public static void Main(string[] args)
24    {
25      TA<int,
26         int> o1 = new TA<int,
27                          int>(3,
28                               1);
29
30      TT<int,
31         int> tII = new TT<int,
32                           int>();
33
34      tII.TE(o1,
35             5,
36             4);
37
38      Console.WriteLine();
39
40      TA<double,
41         double> o2 = new TA<double,
42                             double>(3,
43                                     1);
44
45      TT<double,
46         double> tDD = new TT<double,
47                              double>();
48
49      tDD.TE(o2,
50             5,
51             4);
52
53      Console.WriteLine();
54
55      TA<int,
56         double> o3 = new TA<int,
57                             double>(3,
58                                     1);
59
60      TT<int,
61         double> tID = new TT<int,
62                              double>();
63
64      tID.TE(o3,
65             5,
66             4);
67
68      Console.WriteLine();
69
70      TA<double,
71         int> o4 = new TA<double,
72                          int>(3,
73                               1);
74      TT<double,
75         int> tDI = new TT<double,
76                           int>();
77
78      tDI.TF(o4,
79             5,
80             4);
81    }
82  }
83
84}