model binding dropdownlist code example
Example: drop down list mvc5
@Html.DropDownList("MySkills", (IEnumerable
<SelectListItem>)ViewBag.MySkills)
@Html.DropDownList("MySkills", (IEnumerable
<SelectListItem>)ViewBag.MySkills)