Tuesday, 25 July 2017

MVC - Fix Error - CS1660: Cannot convert lambda expression to type 'string' because it is not a delegate type


watch solution on YouTUbe



CS1660: Cannot convert lambda expression to type 'string' because it is not a delegate type

to fix it replace 

  @Html.Label(model => model.LastName)
with
 @Html.Label(Model.First().LastName)

1 comment:

  1. I don't know if this fully fixes the issue for some.

    It didn't work for me. :/

    ReplyDelete