从list 里遍历出 id="DM" 且 code="0000" 的数据 var tes1= from u in list.where u.ID == "DM" && u.Code == "0000" select u; var tes2= list.Where(m => m.ID == "DM").Where(m => m.Code == "0000"); var tes3 = list.Where(m => m.ID == "DM" && m.Code=="0000");