title: pass self class reference to child class
body: <p>In C# 4.0 (or earlier if it can be done), how does a parent class pass a reference of itself to a child class. For example:</p>
  
  <pre><code>class Book
  {
  
      public string bookname = "a";
      public static List&lt;Page&gt; pages = new List&lt;Page&gt;();
  
      static void Main(string[] args)
      {
          Page pageone = new Page("one");
          pages.Add(new Page("one"));
      }
  }
  public class Page
  {
      Book book;
      public Page(string pagetitle)
      {
          Console.WriteLine(pagetitle);
          Console.WriteLine("I'm from bookname :?");
      }
  }
  </code></pre>
  
  <p>How can I get Page to recognize which book it's in? I'm trying to pass the Book class in the constructor, but don't know how.</p>