creating empty drop down in mvc view 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")