Please help, I'm stuck! After executing a query with LINQ to SQL, the result I have is an arraylist (.ToList) of items with ID numbers. The number of items and their occurences will vary with each query. I would simply like to count the occurences of each specific ID in the list.
How do I do that??
The only count function I know of (.count() ) is for a count on the entire list. I've also I've been reading on how to loop through the list items but I don't understand how I can do that if I don't know how many specific ID's there will be from each query result.
View Complete Post