title: Filtering a List using contents of another List
body: <p>I have two lists. I want to filter out the first list using an element inside the second list. So I have this code:</p>
  
  <pre><code> List&lt;data&gt; dataList = somedata;
   IEnumerable&lt;Filter&gt; filterList  = someFilterData;
  </code></pre>
  
  <p>and then I do the filtering using this code:</p>
  
  <pre><code>foreach (var s in filterList)
  {
       dataList =   dataList .Where(l =&gt; l.dataId!= s.Id).ToList();     
  }
  </code></pre>
  
  <p>Can someone please suggest if this is a good enough approach or how we can make it better using some other technique. Note : The list might get large so we are also thinking about performance.</p>