Is it possible to use GroupBy in Linq to group by ranges of numbers? For instance if I have a large table of data, and want it to be grouped by say 0-20, 21-40, 41-60, 61-80, 81-100.
Is that possible and if so how would I accomplish that?
Is it possible to use GroupBy in Linq to group by ranges of numbers? For instance if I have a large table of data, and want it to be grouped by say 0-20, 21-40, 41-60, 61-80, 81-100.
Is that possible and if so how would I accomplish that?