I have a linq query that is working fine:
var ListForEmailTable = ListForEmailTable .GroupBy(o => new