class abc { public virtual void a() { } } class pqr:abc { public override void a() { } }
Quote:The base method, which is to be overridden, must be declared as virtual, abstract, or override: it is not possible to override a non-virtual or static method in this way.
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)