public void ComputeSandwich(List<string> customerOrders) { foodSelect = new FoodSelection(); foreach (string order in customerOrders) { object FoodItem = foodSelect.FindItem(order); FinalSandwich.Add(FoodItem); } }
public void ComputeSandwich(List <string> customerOrders) { foodSelect = new FoodSelection(); foreach (string order in customerOrders) { object FoodItem = foodSelect.FindItem(order); FinalSandwich.Add(FoodItem); } }