empty dropdown in mvc razor code example
Example: create empty dropdownlist mvc
@Html.DropDownListFor(x => x.CityId, Enumerable.Empty<SelectListItem>(), "Select City")
@Html.DropDownListFor(x => x.CityId, Enumerable.Empty<SelectListItem>(), "Select City")