In razor if I had something like:
@Html.EditorFor(model => model.name) or even: @Html.CheckBoxFor(m => m.RememberMe)
@Html.EditorFor(model => model.name)
@Html.CheckBoxFor(m => m.RememberMe)
How woul
Because EditorFor isn't type-specific, you can't use it on those.
EditorFor
For CheckBoxFor, you can use:
@Html.CheckBoxFor(m => m.RememberMe, new { @class = "myClass", id = "myID" })
Note the @ before class because that's a reserved keyword in C#
@
class