public void Do(EvtArgs e) { if (Evt != null) { Evt.Invoke(this, e); } }
public override void Do(object sender, EvtArgs e) { Console.WriteLine($"Student: Name is {Name}, Age is {Age}, {e.Message} !"); }
public abstract void Do(object sender, EvtArgs e);
public override void Do(object sender, EvtArgs e) { Console.WriteLine($"{Name} {e.Message} !"); }