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