Yurttas/PL/OOL/CS/F/06/00/02/TA.cs

From ZCubes Wiki
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)
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
15public class TA<T0,
16                T1>
17{
18
19  private T0 a0;
20  private T1 a1;
21
22  public TA(T0 v0,
23            T1 v1)
24  {
25    this.a0 = v0;
26    this.a1 = v1;
27  }
28
29  public T0 A0
30  {
31    get
32    {
33      return a0;
34    }
35    set
36    {
37      a0 = value;
38    }
39  }
40
41  public T1 A1
42  {
43    get
44    {
45      return a1;
46    }
47    set
48    {
49      a1 = value;
50    }
51  }
52
53}