1/**
2 * Copyright(C) 2006
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, 2006.
11 * authorĀ : Salih Yurttas.
12 *
13 * A.cs
14 */
15
16
17public class A : IA
18{
19 private readonly int a0;
20
21 private int a1;
22 private int a2;
23
24 public int A0
25 {
26 get
27 {
28 return a0;
29 }
30 }
31
32 public int A1
33 {
34 get
35 {
36 return a1;
37 }
38
39 set
40 {
41 a1 = value;
42 }
43 }
44
45 public int A2
46 {
47 get
48 {
49 return a2;
50 }
51
52 set
53 {
54 a2 = value;
55 }
56 }
57
58 public A()
59 {
60 this.a0 = 1024;
61 this.a1 = 1;
62 this.a2 = 2;
63 }
64
65 public A(int i)
66 {
67 this.a0 = 1024;
68 this.a1 = i;
69 this.a2 = i;
70 }
71
72 public A(int i,
73 int j)
74 {
75 this.a0 = 1024;
76 this.a1 = i;
77 this.a2 = j;
78 }
79
80 public A(int k,
81 int i,
82 int j)
83 {
84 this.a0 = k;
85 this.a1 = i;
86 this.a2 = j;
87 }
88
89 public void Output()
90 {
91 Console.WriteLine(this.a0);
92 Console.WriteLine(this.a1);
93 Console.WriteLine(this.a2);
94 Console.WriteLine();
95 }
96}