using System; class Base { public virtual void Method(int a) { Console.WriteLine("Base.Method"); } } class Derived : Base { public override void Method(object o) { Console.WriteLine("Derived.Method"); } } class Program { static void Main(string args[]) { new Derived().Method(3); } }