You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 [email protected] on 14 Feb 2011 at 9:48
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
[email protected]
on 14 Feb 2011 at 9:48The text was updated successfully, but these errors were encountered: