what is virtual method in dotnet? (什么是虚方法)

 We can override any method of parent with out virtual, its all of inheritance fundas

   override 【重写】 关键字: 我们可以重写(override)父类中的任何方法,只是基于继承(与virtual方法无关)

Virtual does not means only for overridden. Its for special purpose call Runtime Polymorphism.

虚方法不仅是override, 而是为了使用运行时的多态。

 抽象方法必须在派生类中重写,这一点跟接口类似,虚方法不必

原文地址:https://www.cnblogs.com/wenjie/p/1444142.html