title: IEqualityComparer for anonymous type
body: <p>I have this</p>
  
  <pre><code> var n = ItemList.Select(s =&gt; new { s.Vchr, s.Id, s.Ctr, s.Vendor, s.Description, s.Invoice }).ToList();
   n.AddRange(OtherList.Select(s =&gt; new { s.Vchr, s.Id, s.Ctr, s.Vendor, s.Description, s.Invoice }).ToList(););
  </code></pre>
  
  <p>I would like to do this if it where allowed</p>
  
  <pre><code>n = n.Distinct((x, y) =&gt; x.Vchr == y.Vchr)).ToList();
  </code></pre>
  
  <p>I tried using the generic <a href="http://csharpfeeds.com/post/10941/LINQ_Your_Collections_with_IEqualityComparer_and_Lambda_Expressions.aspx" rel="noreferrer">LambdaComparer</a> but since im using anonymous types there is no type associate it with.</p>
  
  <p>"Help me Obi Wan Kenobi, you're my only hope"</p>