using System;
public class Program
{
public static void Main()
Parent f = new Parent();
f.M();
Parent b = new Child();
b.M();
Child c = new Child();
c.M();
}
class Parent
public void M()
Console.WriteLine("Parent");
class Child : Parent
public new void M()
Console.WriteLine("Child");