I have a Question class that has public List property that can contain several Answers.
I have a question repository which is responsible for reading the questions and its answers from an xml file.
So I have a collection of Questions (List) with each Question object having a collection of Answers and I'd like to query this collection of Questions for an Answer (ie by its Name) by using Linq. I don't know how to do this properly.
I could do it with a foreach but I'd like to know whether there is a pure Linq way since I'm learning it.