static void Main(string[] args) { Coffee coffee = new Coffee(); Tea tea = new Tea(); coffee.PrepareRecipe(); Console.WriteLine(); tea.PrepareRecipe(); }
static void Main(string[] args) { CoffeineBeverage coffee = new Coffee(); CoffeineBeverage tea = new Tea(); coffee.PrepareRecipe(); Console.WriteLine("////////////////////////////////"); tea.PrepareRecipe(); Console.ReadKey(); }
static void Main(string[] args) { Console.WriteLine("Hello World!"); Tea tea = new Tea(); Coffee coffee = new Coffee(); Console.WriteLine("\nMaking Tea..."); tea.PrepareRecipe(); Console.WriteLine("\nMaking Coffee..."); coffee.PrepareRecipe(); }
static void Main(string[] args) { Tea tea = new Tea(); Coffee coffee = new Coffee(); Console.WriteLine("Making tea..."); tea.PrepareRecipe(); Console.WriteLine("\nMaking coffee..."); coffee.PrepareRecipe(); Console.Read(); }
static void Main(string[] args) { HotDrink tea = new Tea(); Console.WriteLine("Preparing tea!"); tea.PrepareRecipe(); Console.WriteLine(); HotDrink coffee = new Coffee(); Console.WriteLine("Preparing coffee!"); coffee.PrepareRecipe(); }