Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
このリストをフィルタリングする必要があります。 同じ SalId を持つ人が必要であり、それらは少なくとも 2 人である必要があります。
どうすればいいのですか?
var dupSalIdPersons = persons .GroupBy(p => p.SalId) .Where(g => g.Count() >= 2) .SelectMany(g => g);