Click here to Skip to main content
13,089,500 members (59,740 online)
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&#39;s GroupBy&#39;s Count feature. Below is a quick example using an employee list.  private static void Main() {     List<Employee> 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.

You may also be interested in...

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.170813.1 | Last Updated 19 May 2009
Article Copyright 2009 by merlin981
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid