✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
var groups = new[]{ new[]{1}, new[]{2,3}, new[]{4,5,6}}
.SelectMany(a=>a)
.GroupBy(n=>n%2);
]]>