Adding items to a list from asynchronous method
<p>I need to return items from partitions in service fabric and add them to a list. The results come from async methods. I try to understand what is happening to get it to run faster. Does the loop wait until await is returned for each GetItems, or does the loop continue and start a new GetItems for the next partition?</p>

<pre><code>List&lt;string&gt; mylist = new List&lt;string&gt;();

foreach(var partition in partitions)
{
   var int64RangePartitionInformation = p.PartitionInformation as Int64RangePartitionInformation;
   if (int64RangePartitionInformation == null) continue;
   var minKey = int64RangePartitionInformation.LowKey;
   var assetclient = ServiceProxy.Create&lt;IService&gt;(serviceName, new ServicePartitionKey(minKey));
   var assets = await assetclient.GetItems(CancellationToken.None);
   mylist.AddRange(items)
}
</code></pre>