示例#1
0
 public abstract void ServeDrink(SoftDrink softDrink);
 public override void ServeDrink(SoftDrink softDrink)
 {
     Console.WriteLine($"Served : {softDrink.Name} from the pub");
 }