Click here to Skip to main content
Click here to Skip to main content

How to Use LINQ to Get a Count of Duplicates in a List

, 19 May 2009
Often we have to get a count of duplicate items in a list. An easy way to do this is to group the list on the property we want to count, then use LINQ's GroupBy's Count feature. Below is a quick example using an employee list.  private static void Main() {     List empLi
We're sorry, but the article you are trying to view was deleted at 19 May 2009.

Please go to the Uncategorised Technical Blogs Table of Contents to view the list of available articles in this section.
| Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.141220.1 | Last Updated 19 May 2009
Article Copyright 2009 by merlin981
Everything else Copyright © CodeProject, 1999-2014
Layout: fixed | fluid