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