title: How to create a List from user defined Classes
body: <p>Hello everyone I am new to Stackoverflow so ignore the mistakes. I have different user defined classes which have  number of attributes. I want to create a List with the use of these classes and need to use system define datatype instead of user define classes...
  Here is the code you can better understand with it.</p>
  
  <p>Here are the classes</p>
  
  <pre><code>public class Slide
  {
      public string Name { get; set; }
      public bool IsChecked { get; set; }
  }
  //.........
  public class SubSection
  {
      public SubSection() 
      { 
          this.Composition = new ObservableCollection&lt;object&gt;();
      }
      public string Name { get; set; }
      public bool IsChecked { get; set; }
      public ObservableCollection&lt;object&gt; Composition { get; set; }
  
  }
  //................
  public class Section
  {
      public Section()
      {
          this.SubSections = new List&lt;SubSection&gt;();
      }
      public string Name { get; set; }
      public bool IsChecked { get; set; }
      public List&lt;SubSection&gt; SubSections { get; set; }
  }
  </code></pre>
  
  <p>Every Node in the list should have section,subsection and slide</p>