title: How do you create a dropdownlist from an enum in ASP.NET MVC?
body: <p>I'm trying to use the <code>Html.DropDownList</code> extension method but can't figure out how to use it with an enumeration.</p>
  
  <p>Let's say I have an enumeration like this:</p>
  
  <pre><code>public enum ItemTypes
  {
      Movie = 1,
      Game = 2,
      Book = 3
  }
  </code></pre>
  
  <p>How do I go about creating a dropdown with these values using the <code>Html.DropDownList</code> extension method?</p>
  
  <p>Or is my best bet to simply create a for loop and create the Html elements manually?</p>