title: Cannot convert System.Collections.Generic.IEnumerable' to 'System.Collections.Generic.List
body: <p>I have this code:</p>
  
  <pre><code>List &lt;PhraseAndScore&gt; ps = db2.Query&lt;PhraseAndScore&gt;(select).ToList();
  List&lt;PhraseAndScore&gt; psNoHidden = ps.Where(x =&gt; x.Hidden == false);
  </code></pre>
  
  <p>I would like the psNoHidden to give me the contents of ps but where the Hidden property is false. When I compile it's giving this error. Is it because I am doing the .ToList() too early or am I doing it correctly and I should do something else?</p>
  
  <blockquote>
    <p>Error CS0266: Cannot implicitly convert type
    <code>System.Collections.Generic.IEnumerable&lt;Japanese.PhraseAndScore&gt;</code> to
    <code>System.Collections.Generic.List&lt;Japanese.PhraseAndScore&gt;</code>. An
    explicit conversion exists (are you missing a cast?) (CS0266)</p>
  </blockquote>