title: Dynamic LINQ Method to return List of different Items from two lists
body: <p>I want to write dynamic LINQ function to return the different between two lists but in abstraction way to make this function take any two lists of the same type and return the items that is the first list but not in the second one</p>
  
  <p>I write some thing like the below and it is working fine but as I mention above I need it in abstraction way</p>
  
  <pre><code>List&lt;Employee&gt; a  = List of Items; 
  List&lt;Employee&gt; b  = List of Items;
  var finalCountries = a.Where(u =&gt; !b.Any(u2 =&gt; u2.ISOA2 == u.ISOA2)).ToList();
  </code></pre>
  
  <p>I read about dynamic LINQ expression but it is complex and I have no luck to find what I am looking to</p>
  
  <p>if there are any way to write the above where statement as string and execute it?</p>