title: How to Remove elements from one List based another list's element and condition?
body: <p>How to remove list items from <code>list1</code> which mats condition with <code>list2</code> items using LINQ without duplicates </p>
  
  <p>I know how to do it in simple <code>foreach</code> way but i want the same using <code>Linq</code> style single line code.</p>
  
  <p>How to do it using <code>Linq</code>?</p>
  
  <blockquote>
    <p>Input list</p>
  </blockquote>
  
  <pre><code>list1 = new List(){new object{id = 40},new object{id = 50},new object{id = 60}}
  list2 = new List(){new object{id = 400},new object{id = 50},new object{id = 600}}
  </code></pre>
  
  <blockquote>
    <p>Expected Output should from <code>list1</code></p>
  </blockquote>
  
  <p><code>new object{id = 40},new object{id = 60}</code></p>