Consider this scenario
I have a class called User which contains the a List of Car types (e.g Toyota, BMW)
So that is a User can have many cars.
Let's say I have a List of type User. In this current format, I can easily find all the Cars that a User owns.
What I cannot easily do, is find the all Users who own a particular Car type (e.g all Users who own a Toyota).
In the classical database sense I want to be able to pivot the data, but how does one achieve such an operation when working with objects like this in C#?
Thanks Thomas