Similar to DistinctBy but with the functionality of Intersect
so Something like this:
var emails = GetAllEmails();
var uniqueEmails = emails.DistinctBy(x => x.Email).ToList();
var duplicates = emails.IntersectBy(uniqueEmails, x => x.EmailAddress);
Thanks
Original issue reported on code.google.com by jal...@gmail.com on 14 Feb 2011 at 9:48
Original issue reported on code.google.com by
jal...@gmail.com
on 14 Feb 2011 at 9:48