c# linq查询的等于大于符号是什么意思?

 // LINQ Query
 //Method 1:
 var bmws = from Car in MyCars
            where Car.Make == "BMW"
            select Car;
//Method 2:
var bmws2 = MyCars.Where(p => p.Make == "BMW" && p.Year == 2018);

p=>p.Make

表示lambda 运算符,表达式

posted @ 2021-12-28 09:07  txwtech  阅读(182)  评论(0编辑  收藏  举报