C# LINQ filtering with nested if statements
- by Tim Sumrall
I have a learning project where a data grid is filtered by 3 controls (a checkbox and 2 dropdowns)
I'm about to wrap up and move on to another project as it works well but I don't like the complexity of nesting IF statements to capture all the possible combinations of the 3 filters and was wondering if there is a better way. For example: Something…