title: List<> .ForEach not found
body: <p>I am porting a Windows Phone app to Win 8, and I have found this stumbling block, but cant find the solution.</p>
  
  <p>I have a:</p>
  
  <pre><code> List&lt;items&gt; tempItems = new List&lt;items&gt;();
  </code></pre>
  
  <p>and</p>
  
  <pre><code>ObservableCollection&lt;items&gt; chemists = new ObservableCollection&lt;items&gt;();
  </code></pre>
  
  <p>I have added items to my tempItems etc, so then I do this:</p>
  
  <pre><code>  tempItems.OrderBy(i =&gt; i.Distance)
                  .Take(20)
                  .ToList()
                  .ForEach(z =&gt; chemists.Add(z));
  </code></pre>
  
  <p>But I get this error:</p>
  
  <pre><code>Error   1   'System.Collections.Generic.List&lt;MyApp.items&gt;' does not contain a definition for 'ForEach' and no extension method 'ForEach' accepting a first argument of type 'System.Collections.Generic.List&lt;MyApp.items&gt;' could be found (are you missing a using directive or an assembly reference?) 
  </code></pre>
  
  <p>Why could that be, does Win8 not have this function? I am referencing the following:</p>
  
  <pre><code>using System;
  using System.Collections.Generic;
  using System.Collections.ObjectModel;
  using System.IO;
  using System.Linq;
  using System.Net.Http;
  using System.Net.NetworkInformation;
  using System.Xml.Linq;
  using Windows.Devices.Geolocation;
  using Windows.Foundation;
  using Windows.Foundation.Collections;
  using Windows.UI.Xaml;
  using Windows.UI.Xaml.Controls;
  using Windows.UI.Xaml.Controls.Primitives;
  using Windows.UI.Xaml.Data;
  using Windows.UI.Xaml.Input;
  using Windows.UI.Xaml.Media;
  using Windows.UI.Xaml.Media.Imaging;
  using Windows.UI.Xaml.Navigation;
  using System.Collections.ObjectModel;
  </code></pre>
  
  <p>If ForEach is not available, is there an alternative that does the same?</p>