Yurttas/PL/OOL/CS/F/06/00/01/IA.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
15public class IA
16{
17
18 private int a0;
19 private int a1;
20
21 public IA(int v)
22 {
23 this.a0 = v;
24 this.a1 = v;
25 }
26
27 public IA(int v0,
28 int v1)
29 {
30 this.a0 = v0;
31 this.a1 = v1;
32 }
33
34 public int A0
35 {
36 get
37 {
38 return a0;
39 }
40 set
41 {
42 a0 = value;
43 }
44 }
45
46 public int A1
47 {
48 get
49 {
50 return a1;
51 }
52 set
53 {
54 a1 = value;
55 }
56 }
57
58}