Пример #1
0
 static void Main(string[] args)
 {
     ChildClass twoint = new ChildClass(10, 20);
     Console.WriteLine("Value of X from parent = "+twoint.x);
     Console.WriteLine("Value of y from parent = "+twoint.y);
     Console.ReadKey();
 }