Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public abstract class HotDrinkMaker
- {
- abstract void PrepareRecipe();
- void BoilWater()
- {
- Console.WriteLine(“Boiling water...”);
- }
- void PourInCup()
- {
- Console.WriteLine(“Pouring in cup...”);
- }
- }
Add Comment
Please, Sign In to add comment