📅  最后修改于: 2022-03-11 14:57:40.031000             🧑  作者: Mango
var uniquePeople = from p in people
group p by new {p.ID} //or group by new {p.ID, p.Name, p.Whatever}
into mygroup
select mygroup.FirstOrDefault();