예제 #1
0
 public void prepareBreakfast()
 {
     Console.WriteLine("\n Breakfast is going to be prepared synchronously ....");
     Breakfast breakfast = new Breakfast();
     Coffee    c         = breakfast.prepareCoffee();
     Bacon     b         = breakfast.prepareBacon();
     Juice     j         = breakfast.prepareJuice();
     Toast     t         = breakfast.prepareToast();
 }