using System;
public class A{
public int x;
protected int y;
private int z;
}
public class B : A{
private int d;
protected int e;
public void Foo(){
B b2 = new B();
b2.e =2 ;
b2.x =2;
b2.y = 2;
public class Program
{
public static void Main()
B b1 = new B();
b1.x = 1;
b1.Foo();