コード例 #1
0
 public void ComputeSandwich(List<string> customerOrders)
 {
     foodSelect = new FoodSelection();
     foreach (string order in customerOrders)
     {
         object FoodItem = foodSelect.FindItem(order);
         FinalSandwich.Add(FoodItem);
     }
 }
コード例 #2
0
 public void ComputeSandwich(List <string> customerOrders)
 {
     foodSelect = new FoodSelection();
     foreach (string order in customerOrders)
     {
         object FoodItem = foodSelect.FindItem(order);
         FinalSandwich.Add(FoodItem);
     }
 }