static void Main(string[] args) { Base b = new Base(); Der d = new Der(); b.Say(); d.Say(); b = d; b.Say(); }
public static void Say(this Der d) { d.f("as Der"); }