Example: I have an in-memory list of customers. Every customer has a list of orders. Every order has a list of items. Every item has an item-code.
I need to get a list of items grouped by the itemcode, with beneath it the customers who have ordered this item. If a customer ordered an item twice or more, he should still be shown as a single person.
It's a query that I can do but not in a single LINQ command. Can it be done in a single statement? I don't care that it'd be 20 lines, as long as it's a single query.
This is a challenge! Don't suggest other solutions. ;-)