using System;
class Parent
{
public void Method(int x)
Console.WriteLine("Parent's version of Method");
}
class Child : Parent
public void Method(double y)
Console.WriteLine("Child's version of Method");
public class Program
public static void Main()
Child c = new Child();
c.Method(10);