title: Linq nested list expression
body: <p>please I need your help with a Linq expression:</p>
  
  <p>I have nested objects with lists, this is how the main object hierarchy looks like (each dash is an atribute of the sub-class):</p>
  
  <pre><code>Folder
  -name
  -List&lt;Subfolder&gt; Subfolders
                   -name
                   -List&lt;Document&gt; Documents
                                   -name
                                   -key
  </code></pre>
  
  <p>Having this hierarchy of objects, I have a Document name, and I want to search for it and return its parent folder (Subfolder)</p>
  
  <p>Example:</p>
  
  <pre><code>Folder
      -name: Customer
      -List&lt;Subfolder&gt; Subfolders
                       -name: Personal
                       -List&lt;Document&gt; Documents
                                       -name: Resume
                                       -key : 1
  </code></pre>
  
  <p>If I said: "Resume", the linq expression should return me: the subfolder "Personal" (the object).</p>
  
  <p>Please help me, because of the two nested lists I'm having troubles, with one it'll be easy.</p>
  
  <p>Thanks in advance.</p>