@Html.EditorFor(m => m) lambda syntax in MVC
问题 I'm just learning C# and MVC, and trying to understand some examples. @Html.EditorFor(m => m) Eventually I figured out that '=>' is the lambda operator, and that it means something like "m such that m". That doesn't really make any sense to me. Why not just pass in m? Also, I don't see m defined in any view that I'm working with. Model is defined, and allegedly that's what this method is picking up. How does that work? Finally, I looked at the definition for Html.EditorFor, and don't see any