title: How do I create a UserControl<T> in C#?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/395321/is-it-possible-to-make-a-generic-control-in-net-3-5">Is it Possible to Make a Generic Control in .Net 3.5?</a>  </p>
  </blockquote>
  
  
  
  <p>How do I create a <code>UserControl&lt;T&gt;</code> in C# in Winforms or Webforms?</p>
  
  <pre><code>public partial class MyView&lt;T&gt; : UserControl
   { 
          public MyView()
          {
              InitializeComponent();  
          } 
   }
  </code></pre>
  
  <p>When I try this, I get the following error message:</p>
  
  <pre><code>The name 'InitializeComponent' does not exist in the current context
  </code></pre>
  
  <p>Is it not possible to make a UserControl generic in .NET 3.5?</p>