title: How to put class inside Html.Dropdownlist?
body: <p>I have this bizarre question, but it is bothering me a lot. I have this css class:</p>
  
  <pre><code>class="form-control"
  </code></pre>
  
  <p>And I need to use it in my DropDown:</p>
  
  <pre><code>@Html.DropDownList("destination", ((SelectList)ViewBag.DropList).Select(t =&gt; new SelectListItem() { Text = t.Text, Value = t.Text, Selected = (t.Text == ViewBag.Destination)}), (SelectList)ViewBag.DropList)
  </code></pre>