我有一个清单orders
。
我想orders
根据一组订单状态进行选择。
所以本质上select orders where order.StatusCode in ("A", "B", "C")
// Filter the orders based on the order status
var filteredOrders = from order in orders.Order
where order.StatusCode.????????("A", "B", "C")
select order;