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