예제 #1
0
 private static void ShowCoffee(IDecorator coffee)
 {
     Console.WriteLine("Type : "+coffee.GetType().Name);
     Console.Write("Coffee Ingredients : " + coffee.CoffeeType());
     Console.WriteLine(String.Format("\nPrice in Rupees : {0}", coffee.getPrice().ToString()));
 }