title: Filter Object List by Property which is a integer list
body: <p>I have a class like  below</p>
  
  <pre><code> Class MyClass {
  
    string Name ;
  
    List&lt;int&gt;  scoreList;  //this contains integer values     
  
     }
  </code></pre>
  
  <p>I have a code to fill object list of above class type from database </p>
  
  <pre><code>List&lt;MyClass&gt; newList = //fill from db
  </code></pre>
  
  <p>I have a separate integer list having some numbers </p>
  
  <pre><code>List&lt;int&gt; filterList = new filterList();
  </code></pre>
  
  <p>Now I want to filter object list (newList) as any value(s) of property scoreList in filterList values</p>
  
  <p>I wrote code like below but it seems to give incorrect results</p>
  
  <pre><code> newList = newList .Where(x =&gt; x.scoreList.All(s =&gt; filterList .Contains(s))).ToList();
  </code></pre>
  
  <p>Can you help me to write a Linq query using c# to do above ?</p>