title: Convert System.Linq.IOrderedEnumerable<T> to List<T>
body: <p>.NET compiler will not implicitly convert <code>System.Linq.IOrderedEnumerable&lt;T&gt;</code> to <code>System.Collections.Generic.List&lt;T&gt;</code></p>
  
  <p>An explicit cast : </p>
  
  <pre><code>using System.Collections.Generic;
  
  var items = new List&lt;MyType&gt;;
  
  var selectedItems =
    from item in items
    where item.Active 
    select item;
  
  return (List&lt;MyType&gt;)selectedItems;
  </code></pre>
  
  <p>gives warning : </p>
  
  <pre><code>Suspicious cast: there is no type in the solution which inherits from both System.Linq.IOrderedEnumerable&lt;MyType&gt; and System.Collections.Generic.List&lt;MyType&gt;
  </code></pre>
  
  <p>What is best practice here</p>