title: Can I use an embedded lambda with the Contains method?
body: <p>I want to filter a list with <code>FindAll</code></p>
  
  <p>If I write:</p>
  
  <pre><code>.FindAll(
      p =&gt; p.Field == Value &amp;&amp; 
      p.otherObjList.Contains(otherObj));
  </code></pre>
  
  <p>it's ok, but if I write</p>
  
  <pre><code>.FindAll(
      p =&gt; p.Field == Value &amp;&amp; 
      p.otherObjList.Contains(
          q =&gt; q.Field1 == Value1 &amp;&amp; 
          q.Field2 == Value2));
  </code></pre>
  
  <p>I get C# syntax error message: <strong>Unknown Method FindAll(?) of .. the otherObjList</strong></p>
  
  <p>I cannot define the otherObj exactly, because I know only the values of two fields, Field1 and Field2.</p>
  
  <p>What have I done wrong? What can I do in this case?</p>