I currently have a list of the Activity class, this class, among other properties, has one that is Operational.
The fact is that I take charge of all the activities of all the workers in the lAux list and what I need is from that great list to be able to deal with all the activities of each operator, for this I try to do the following :
As you can see it gives compilation error.
I would need to be able to treat all sublists generated with each different Operator within the foreach, or some similar treatment. Thanks for the help.
Edit: I put the code with the modification of Einer, it works fine, the only thing if it can be optimized.