Yurttas/PL/OOL/CS/F/06/00/01/TT.cs
Jump to navigation
Jump to search
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 TT<T>
22 {
23 public void TE(TA<T> o,
24 T t)
25 {
26 Console.WriteLine(o.A0);
27 Console.WriteLine(o.A1);
28
29 o.A0 = t;
30 o.A1 = t;
31
32 Console.WriteLine(o.A0);
33 Console.WriteLine(o.A1);
34 }
35
36 public void TF(TA<T> o,
37 T t0,
38 T t1)
39 {
40 Console.WriteLine(o.A0);
41 Console.WriteLine(o.A1);
42
43 o.A0 = t0;
44 o.A1 = t1;
45
46 Console.WriteLine(o.A0);
47 Console.WriteLine(o.A1);
48 }
49 }
50
51}