In LINQ how will you find the index of the element using where() with Lambda Expressions?

Technology CommunityCategory: LINQIn LINQ how will you find the index of the element using where() with Lambda Expressions?
VietMX Staff asked 3 years ago

In order to find the index of the element use the overloaded version of where() with the lambda expression:

where(( i, ix ) => i == ix);