I am setting two values based on two different conditions inside for each. Is it possible to implement the below in LINQ ?
foreach(Customer cust in Customers)
{
If(Condition 1)
condtion1Var =true;
If(Condition2 )
condition2Var =true;
}