title: Get List of (Parents) from Child
body: <pre><code>public class Folder
  {
      public int ID { get; set; }
      public List&lt;Folder&gt; Children { get; set; }
  }
  </code></pre>
  
  <p>I have a recursive tree, however, depending on some folders i need to go back and add a (state) to the parent folders.</p>
  
  <p>While I am creating the child folders within the parent folder, i can update the previous level no problem. I am however having trouble going back more levels... So lets say for example..</p>
  
  <pre><code>1 Appliances NULL (Active)
  2 TV 1 (Active)
  3 Radio 1 (Active)
  4 Furniture NULL (Active)
  5 Chair 4 (Active)
  6 Sofa 4 (Active)
  7 Specials 4 (Active)
  8 Golden Sofa 7 (Not Active)
  </code></pre>
  
  <p>Lets say that i need to go back to Specials, and make it not active, that's okay I have no problem, but i need to go back to specials parent (furniture) and make it not active as well....</p>
  
  <p>C# Help Please!</p>
  
  <p>I wouldn't mind using LINQ not sure how to do it though.... 
  MERCI!</p>