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.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
VulpesPosted Mar 19, 2012, 5:54 AM
Shen HengbinPosted Mar 19, 2012, 5:49 AM
Does it not work ?
RichPosted Mar 19, 2012, 3:17 AM
Shen HengbinPosted Mar 18, 2012, 10:14 PM
var result = list.GroupBy(p => new { p.date, p.team }).Select(p=>new { Date = p.Key.date , Team = p.Key.team});