title: How can I use Enums on my Razor page in MVC3?
body: <p>I declared an enum:</p>
  
  <pre><code>public enum HeightTypes{    Tall,    Short}
  </code></pre>
  
  <p>Now I want to use it on my razor page like this:</p>
  
  <pre><code>@if (Model.Meta.Height == HeightTypes.Tall)
  </code></pre>
  
  <p>But there's a problem as I get an error. Is there some way I can tell the razor page about my enum?</p>