title: Lambda Expression for "not in"?
body: <p>I have a <code>detailcollection</code> collection in which every detail has</p>
  
  <pre><code>code, price, name
  </code></pre>
  
  <p>And a string with some codes</p>
  
  <pre><code>string codes = "1,2,3";
  </code></pre>
  
  <p>I know I can get an array using <code>string.Split()</code></p>
  
  <pre><code>string[] codesarray = codes.Split(',');
  </code></pre>
  
  <p>But how can I get products not in <code>codes</code>?</p>
  
  <pre><code>// the idea I have, but I would not like to have a loop
  for (int i = 0; i &lt; codesarray.Length; i++)
  {
      detailcollection.Where(x =&gt; x.ope_idsku == codesarray[i])
  }
  </code></pre>
  
  <p>I would like something like:</p>
  
  <pre><code>detailcollection.Where(x =&gt; x.ope_idsku not in (codesarray))
  </code></pre>