C Sharp (C#) - Inheritance
Identify the error in this code snippet:
class Base {
public virtual void Show() { Console.WriteLine("Base"); }
}
class Derived : Base {
public void Show() { Console.WriteLine("Derived"); }
}
Base obj = new Derived();
obj.Show();