Tech
Forums
Jobs
Books
Events
Live
Interviews
More
Learn
Training
Career
Members
Videos
News
Blogs
Post
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
1
Reply
creating a list based on a list method?
shosho shosho
Sep 21 2015 8:22 AM
364
Reply
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 :)
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
percentage code in c# for calculator:
Display Word document content in browser