groupy two fields in linq code example
Example 1: linq group by multiple
group x by new { x.Column1, x.Column2 }
Example 2: linq group by multiple
.GroupBy(x => new { x.Column1, x.Column2 })
group x by new { x.Column1, x.Column2 }
.GroupBy(x => new { x.Column1, x.Column2 })