Finding an item within a list within another list?

Viewed 16085

Okay, so let's say I have a List<car>. Each car also contains a List<part>. Each part has an ID associated with it. I'm only given the ID to a part, and I want to find the car that contains that part. What is the best way to find this car?

6 Answers
Related