LINQ 101 query

M

Marc Gravell

That overload no longer exists; the following is logically equivalent:

bool allLower = !lowNumbers.Where((num, index) => num >=
highNumbers[index]).Any();

Marc
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top