What is a virtual method ?
A virtual method is a low priority method which will never exists in the run time for accessing.
A method which can be overridden in the derived class.
A method without body is called as a virtual method.
A method or property which can be overridden in the same class.
In C#, virtual methods behavior can be modified in the derived class. Usually virtual methods are useful in framework implementations where a developer must required to call a future class method.
Back To Top