List
Select(s => new stats
{
Date =
Team =
}).AsEnumerable().ToList();
Thanks in advance.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
VulpesRank #55 · 29.2K reputationPosted Mar 19, 2012, 1:54 AM EDT
Shen Hengbin94 reputationPosted Mar 18, 2012, 6:14 PM EDT
var result = list.GroupBy(p => new { p.date, p.team }).Select(p=>new { Date = p.Key.date , Team = p.Key.team});
Rich83 reputationPosted Mar 18, 2012, 11:17 PM EDT
Shen Hengbin94 reputationPosted Mar 19, 2012, 1:49 AM EDT
Does it not work ?