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
shosho shosho
NA
56
18.9k
creating a list based on a list method?
Sep 21 2015 8:22 AM
I have a list method:
public List<Employee> GetDiscipline(int projectId,List<int> roles)
{
return (from i in EmployeeList where i.ProjectId == projectId&& roles.Contains(i.RoleId) select i).ToList<Employee>();
}
My question is how can i create another list based on the results of this list?
any help would be greatly appreciated and thank you in advance :)
Reply
Answers (
1
)
percentage code in c# for calculator:
Display Word document content in browser