title: Does C# support return type covariance?
body: <p>I'm working with the .NET framework and I really want to be able to make a custom type of page that all of my website uses. The problem comes when I am trying to access the page from a control. I want to be able to return my specific type of page instead of the default page. Is there any way to do this?</p>
  
  <pre><code>public class MyPage : Page
  {
      // My own logic
  }
  
  public class MyControl : Control
  {
      public MyPage Page { get; set; }
  }
  </code></pre>