Yurttas/PL/OOL/CS/F/03/00/04/A.cs

From ZCubes Wiki
Jump to navigation Jump to search
 1/**
 2 *  Copyright(C) 2003
 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 withConsole fee is hereby granted provided that this
 8 *  copyright notice appears in all copies.
 9 *
10 *  @date   : September 1, 2003.
11 *  @author : Salih Yurttas.
12 */
13
14
15public class A
16{
17  public int i0 = 2;
18  protected int i1 = 4;
19  private int i2 = 1;
20
21  public A()
22  {
23  }
24
25  public void M1()
26  {
27    System.Console.WriteLine(" i0 = " + i0 +
28                             " i1 = " + i1 +
29                             " i2 = " + i2);
30  }
31}