2 // Versioning, should choose Derived.Add (1)
9 public void Add (int x
)
11 Console
.WriteLine ("Incorrect method called");
17 class Derived
: Base
{
18 public void Add (double x
)
20 Console
.WriteLine ("Calling the derived class with double! Excellent!");
29 Derived d
= new Derived ();