title: How do I convert IEnumerable to Collection with linq
body: <p>I am populating a partial view with product from my ProductViewModel.  When the model comes back we have...</p>
  
  <pre><code>var viewModel = _productAgent.GetProductsByCatalog(catalogId);
  </code></pre>
  
  <p>viewModel is a Collection of ProductViewModel</p>
  
  <p>I am using linq to limit the size of the collection to the top 10 products orderby createDate desc like so...</p>
  
  <pre><code>var newList = (from p in viewModel
             //from pf in p.DomainObjectFields
             select p).Distinct().OrderByDescending(d =&gt; d.CreateDate).Take(10);
  </code></pre>
  
  <p>and I try to load the partial...</p>
  
  <pre><code>return PartialView("_ProductGrid", viewModel);
  </code></pre>
  
  <p>The problem is newList is IEnumerable  It needs to be a collection and I do not know how to convert it OR if I'm taking the correct approach.</p>