📜  LINQ 查询以选择前 5 个 - C# 代码示例

📅  最后修改于: 2022-03-11 14:49:04.890000             🧑  作者: Mango

代码示例1
var list = (from t in ctn.Items
           where t.DeliverySelection == true && t.Delivery.SentForDelivery == null
           orderby t.Delivery.SubmissionDate
           select t).Take(5);