ASP.NET Cannot initiate instance object of a Class I created
<p>So I created a class file Persons to my website project and placed this in a folder called <code>App_Code</code>.</p>

<p>But now in my <code>default.aspx.cs</code> I cannot seem to create i.e. <code>Persons test = new Persons();</code></p>

<p>Says </p>

<blockquote>
  <p>Type or Namespace Persons not found</p>
</blockquote>

<p>This is my persons class so far</p>

<pre><code>using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace WebApplication1.App_Code
{
    public class Persons
    {
        public string FirstName { get; set; }
        public string LastName { get; set; }
        public string Email { get; set; }

        public string DisplayFullName()
        {
            string info;
            info = "FullName is: " + FirstName + " " + LastName;
            return info;
        }

        public void setData(String sLine)
        {
            this.FirstName = "Test";
        }
    }
}
</code></pre>
