title: How to set id and class of DropDownFor - asp.net mvc
body: <p>I am creating a small mvc applicaiton and using DropDownListFor in it. Iam unable to set an id and class for that dropdownlist. Following is my DropdownListFor code in which i want to add Id and class. Timely help will be appreciated, thanks</p>
  
  <pre><code>@Html.DropDownListFor(item =&gt; item.Student.StudentId, new SelectList(Model.StudentList, "StudentId", "FirstName"), "--Select--")
  </code></pre>