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
Ankit Shukla
NA
681
116.7k
Select distinct record
Oct 12 2017 12:44 AM
Hello,
My code is:
var ListofRoute = _DatabaseContext.RouteMaster.ToList();
return ListofRoute.ToArray();
I need to select distinct record only. I tries :
var ListofRoute = _DatabaseContext.RouteMaster.Distinct().ToList();
return ListofRoute.ToArray();
But its not working. Please help.
Thanks in advance
Reply
Answers (
2
)
Write a query for who is working for Mumbai city using linq
c# Robust Ling Idea