Difference between select and where in linq

Posted by Vishalneeraj-24503 under LINQ on 7/16/2017 | Points: 10 | Views : 120 | Status : [Member] [MVP] | Replies : 1
What is the difference between select and where in LINQ.
I also search in google but not find anything related to above.




Responses

Posted by: Meena142 on: 7/27/2017 [Member] Starter | Points: 25

Up
0
Down
Select() can maps an IEnumerable to a new structure.
Where() filter the IEnumerable and return the subset of the original IEnumerable

Vishalneeraj-24503, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response