TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Peter
NA
14
26.1k
Help with LINQ, selecting from a lit
Feb 14 2011 4:58 PM
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
Reply
Answers (
3
)
how to using 'count'
for what purpose LINQ is use?