0
Answer

Grouping Array of Objects by Properties

Photo of tntomek

tntomek

18y
2k
1
Given an array of objects what would be the C# equivalent of the SQL statement: "select A,B,C from someTable order by B,C"? Specifically I have a list of object and I need to group them by more then 1 level, is there a generic solution to this problem that I can reuse in the future? Thank You