KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
The query var q = from elem in collection where someCondition(elem) select elem; translates to var q = collection.Where(elem => someCondition(elem)); Is there a LINQ syntax that would translate to the following? var q = collection.Where((elem, index) => someCondition(elem, index));
Tags (comma-separated)
Save Edits
Cancel