title: Change foreach to lambda
body: <p>I need a help with simpify this statement. How to change foreach to lambda</p>
  
  <pre><code>var r = mp.Call(c =&gt; c.GetDataset());   // returns IEnumerable of dataset      
  foreach (DatasetUserAppsUsage item in r)
  {
     datasetUserAppsUsage.Merge(item.AppsUsageSummary);
  }
  </code></pre>