SyntaxFix
Write A Post
Hire A Developer
Questions
var results = from p in persons group p by p.PersonID into g select new { PersonID = g.Key, Cars = g.Select(m => m.car) };