Hi
I have a list of strings, from which I wish to select unique values.
For example, my list might be:
[user=Peter][count=13]
[user=Peter][count=2]
[user=Colin][count=3]
[user=Sue][count=7]
[user=Sue][count=9]
I want to obtain a result list that contains a list of unique "users"; for example a result that looks like:
Peter
Colin
Sue
Can someone help with a LINQ for this?
Thanks for any help,
Peter
Help with LINQ, selecting from a lit
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Sam HobbsRank #107 · 20.5K reputationPosted Feb 14, 2011, 12:56 PM EST
Peter14 reputationPosted Feb 14, 2011, 4:17 PM EST
Suthish NairRank #92 · 22.8K reputationPosted Feb 15, 2011, 9:55 PM EST