Monthly Archives: January 2015

The basics of processing linq with group

results  = mylist .GroupBy(x =>x.id) .Select(x => { var myItem = x.First(); string item_aggregated = String.Join(“,”, x.Select( … ); })      .AsEnumerable(); Or, as stated here http://stackoverflow.com/questions/7325278/group-by-in-linq var results = from p in persons group p.car by p.PersonId into g … Continue reading

Posted in Uncategorized | Leave a comment