in this link , they have this code:
public class Base { public virtual void Method(){} } public class Derived : Base { public new void Method(){} }
and then called like this:
Base b = new Derived(); b.Method();
my actual code is:
public class Base { public void Method() {
need to call using base.Method();
?
or just leave the method in the derived class empty?
source share