Given a set
Paris New York London New York Paris Paris
I'm trying to do a LINQ query that will return a grouping of the Paris, New York, and London with their respective counts.
I've been able to do a GroupBy that returns a group containing only the Paris/New York/London in each Grouping.
Sounds relatively simple, but I can't get it to work?
Edit: It's not a homework problem.