C Sharp (C#) - Polymorphism and Abstract Classes
What is wrong with this C# code snippet that tries to use polymorphism?
class Shape { public void Draw() { Console.WriteLine("Shape"); } }
class Circle : Shape { public void Draw() { Console.WriteLine("Circle"); } }
Shape s = new Circle();
s.Draw();