static void Main(string[] args) { Meal A = MealBuilder.PrepareSetMenuA(); Meal B = MealBuilder.PrepareSetMenuB(); Console.WriteLine("SetMenu A costs :" + A.Cost()); A.Show(); Console.WriteLine("SetMenu B costs :" + B.Cost()); B.Show(); }
static void Main(string[] args) { Meal A = MealBuilder.PrepareSetMenuA(); Meal B = MealBuilder.PrepareSetMenuB(); Console.WriteLine("SetMenu A costs :" + A.Cost()); A.Show(); Console.WriteLine("SetMenu B costs :" + B.Cost()); B.Show(); }