Using jQuery, you can do it easily:
$("input").addClass("class-name")
Here is your input tag
@Html.EditorFor(model => model.Name)
For DropDownlist you can use this one:
$("select").addClass("class-name")
For Dropdownlist:
@Html.DropDownlistFor(model=>model.Name)