title: Applying a Bootstrap class to @Html.DropDownList()
body: <p>I am trying to apply bootstrap styling to the following dropdown list:</p>
  
  <pre><code>@Html.DropDownList("Scholarship_contactID", "-- Select Contact --", new { @class = "form-control"})
  </code></pre>
  
  <p>This returns the following error:</p>
  
  <blockquote>
    <p>'System.Web.Mvc.HtmlHelper' does not contain a definition for 'DropDownList' and the best extension method overload 'System.Web.Mvc.Html.SelectExtensions.DropDownList(System.Web.Mvc.HtmlHelper, string, System.Collections.Generic.IEnumerable, string)' has some invalid arguments</p>
  </blockquote>