linq list query c# code example
Example: from where in list linq
var filteredOrders = from order in orders.Order
where allowedStatus.Contains(order.StatusCode)
select order;
var filteredOrders = from order in orders.Order
where allowedStatus.Contains(order.StatusCode)
select order;