Link to home
Start Free TrialLog in
Avatar of tmajor99
tmajor99

asked on

C#Adding a second operation to Array List Where Clause

How can I add a second operation to the List Array where clause below?  

var FilteredProducts = sortedProductDetails.Where(i => i.value1 == li.Text).FirstOrDefault();

Need to do something like this:
var FilteredProducts = sortedProductDetails.Where(i => i.value1 == li.Text  && i.attributetitle = "Description").FirstOrDefault();
ASKER CERTIFIED SOLUTION
Avatar of Franck Gaspoz
Franck Gaspoz
Flag of France image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Avatar of it_saige
it_saige
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial