title: Recommend way to use Task.WhenAll to execute tasks in a loop
body: <p>Can anyone recommend how i can apply <a href="https://msdn.microsoft.com/en-us/library/hh194766.aspx" rel="nofollow">Task.WhenAll</a> to the following code</p>
  
  <pre><code>foreach (DataRow row in sap_tickets.Rows)
  {
      //#EDIT This is the beginning of the task i want to execute
      picklist = row["absentry"].ToString();
      try
      {
           //call webservice here
           string response = await Ut.updateFulfilment(row["order_number"].ToString());
  
      }
      catch (Exception)
      {
          //log error to DB
          Ut.FlagOff(picklist, CommonEnums.FLAG_OFF_TYPE.ERROR.ToString());
      }
      //This is the end of the task i want to execute
  }
  </code></pre>
  
  <h1>Edit</h1>
  
  <p>My tasks consists of the codes that exists within the foreach loop
  and they are safe to call multiple times</p>