I have a line of code using where:
codebase.Methods.Where(x => x.Body.Scopes.Count > 5);
How can I insert more than one condition? So
In your example, where does y come from? The Where method takes a lambda with a single input parameter, which represents a single instance of the sequence you're operating against.
y
Where
You can, of course, have multiple conditions against x:
x
Where(x => x.Foo > 5 && x.Bar < 3)