Created
March 24, 2016 08:29
-
-
Save sudipto80/f470aa9b404e17a7e67a to your computer and use it in GitHub Desktop.
Finding duplicates the wrong way
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var duplicates = plugIns.GroupBy(i => i.ID) | |
.Where(g => g.Count() > 1) | |
.ToDictionary(g => g.Key, g => g.Select(a => a.Description).ToList()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment