You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
//virtual method -> Must have implemenation ,Method Open for change, subclass can /maybe reuse base class implementation or override base class implentation
public class A
{
public virtual void M1() { Console.Write("A.M1"); }
public virtual void M2() { Console.Write("A.M2"); }