Example #1
0
 public abstract void Remove(Dish c);
Example #2
0
 public override void Remove(Dish c)
 {
     Console.WriteLine("Cannot add to a " + this.Name);
 }
Example #3
0
 public abstract void Add(Dish c);
Example #4
0
 public override void Add(Dish c)
 {
     Console.WriteLine("Cannot add to a ErrorDish");
 }