I have a simple business object:
Crime
Date
PersonsInvolved
I need a list of total PersonsInvolved per month. The data is for 1 year so year doesn’t need to be taken into account.
Jan 5
Feb 3
Mar 5
and so on
How is this done in Linq if I have an in memory collection like this:
List<Crime>() crimes;
1 Answer