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