title: Razor: Class name is not valid at this point
body: <p>I was simply trying to list products on the main page. Here's how I'm doing it....</p>
  
  <pre><code>@using iShop.Controllers
  @using iShop.Models
  @{
      ViewBag.Title = "Home Page";
  }
  
  &lt;div class="row"&gt;
     &lt;div class="col-md-4"&gt;
      &lt;h2&gt;Products&lt;/h2&gt;
      &lt;p&gt;
              &lt;ul&gt;
                  @foreach (var p in Product) { }
                      &lt;li&gt;@p.Title&lt;/li&gt;
                  }
              &lt;/ul&gt;
      &lt;/p&gt;
  </code></pre>
  
  <p>I'm getting the error "Class name is not valid at this point." The issue is with "Product" in the foreach. Any idea why? iShop.Models.Product does exist.</p>