How can I fix "is a variable but is used like a type" error in my asp.net mvc Webapp?
<p>When I try to create the following Class on my <code>Main_Controller</code>, I get the error </p>

<blockquote>
  <p>"CS0118 'prjname' is a variable but is used like a type"</p>
</blockquote>

<p>Here is my code</p>

<pre><code>public ActionResult AufgabenDetails(int id)
        {
            var prjname = new prjname { Title = "Album " + id };
            return View(prjname);
        }
</code></pre>

<p>Can anyone help me?</p>