Element.GroupBy(x => new { x.Select(y=>y.Id)}
Invalid anonymous type member declarator. Anonymous type members must be declared with a member assignment, simple name or member access
<pre>Element.GroupBy(x => new { x.Select(y=>y.Id)}
myCollection.GroupBy(c => c.PropertyToGroupBy).Select(g => new(g.Key));
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)