LINQ in Action roller

Find Duplicates using LINQ

Sometimes you need to find the duplicates in a list. I’m currently developing a little utility that tests code in a word processing document (to be blogged soon). Each code snippet in the document has an identifier, and one of the rules that I’m imposing on this code testing utility is that there should be no duplicate identifiers in the set of documents that contain code snippets to be tested. An easy way to find duplicates is to write a query that groups by the identifier, and then filter for groups Read More...
Published Tuesday, August 19, 2008 5:23 AM by Eric White's Blog
Anonymous comments are disabled

Featured Item

This Blog

Sponsoring

Syndication