@foreach (var item in Model) {
<tr>
<td>
@Html.DisplayFor(modelItem => item.Title)
</td>
</tr>
...
I have found conflicting responses on past answers to this question. From what I understand, the left parameter modelItem is an unused parameter. But the accepted answer to this question MVC HTML Helpers and Lambda Expressions says that the left parameter is used to "describe" the value of item.Title. So is it used or unused?
The expected type of modelItem is IEnumerable and item.Title is a string. I just don't see how one can describe the other. Yet if modelItem doesn't describe item.Title, then what is the purpose of having the lambda expression tree in the first place?