Why cant I create a generic list of my class type?
<pre><code>public partial class About : System.Web.UI.Page
{
    public class Class2
    {
        public int i = 1;
        public string str = "Chandan";

    }


    protected void Page_Load(object sender, EventArgs e)
    {

        List&lt;Class2&gt; Object2 = new List&lt;Class2&gt;();

    }

}
</code></pre>
