title: How to get unique values from two list of dictionaries using Linq?
body: <p>This is my code</p>
  
  <pre><code>public class Model
  {
      public Model();
  
      public Dictionary&lt;string, string&gt; Data { get; set; }
  
  }
  
  list&lt;dictionary&lt;string,string&gt;&gt;  data1;
  list&lt;dictionary&lt;string,string&gt;&gt;  data2;
  
  data1=await get&lt;model&gt;();
  data2=await get&lt;model&gt;();
  
  data1[0]=[0][{id,101}]
           [1][{name,one}]
           [2][{marks,56}]
           [3][{state,ap}]     
  
  data1[1]=[0][{id,102}]
           [1][{name,two}]
           [2][{marks,65}]
           [3][{state,up}]     
  
  data1[2]=[0][{id,103}]
           [1][{name,three}]
           [2][{marks,89}]
           [3][{state,usa}]     
  
  
  
  data2[0]=[0][{roleid,101}]
           [1][{stdname,one}]
  data2[1]=[0][{roleid,102}]
           [1][{stdname,two}]
  </code></pre>
  
  <p>Finally i want Output Like</p>
  
  <pre><code>data3[0]=[0][{id,103}]
           [1][{name,three}]
           [2][{marks,89}]
           [3][{state,usa}]     
  </code></pre>
  
  <p>in the above code i have two list of dictionaries, i want to get unqiue id values compare two lists.the above two lists key names are different get except values from two lists based on first list id and second list roleid.</p>