Example #1
0
 public abstract void Response(object sender, EatEventArgs e);
Example #2
0
 public override void Response(object sender, EatEventArgs e)
 {
     Console.WriteLine("Chef: start cooking a " + e.FoodName);
 }
Example #3
0
 public override void Response(object sender, EatEventArgs e)
 {
     Console.WriteLine("waier: please cook a " + e.FoodName);
 }