title: Cannot convert lambda expression to type 'object' because it is not a delegate type with an int
body: <p>I have a List of patients.  One of the properties of the Patient class is PatientId which is an int.  My list is initialized like:</p>
  
  <pre><code>List&lt;Patient&gt; = new List&lt;Patient&gt;() { new Patient { PatientId = 1, 
                                                      FirstName = "Jane", 
                                                      LastName = "Doe"}};
  </code></pre>
  
  <p>When I access PatientId in my view with something like:</p>
  
  <pre><code>@Html.DisplayForModel(modelItem =&gt; modelItem.PatientId) //Error
  </code></pre>
  
  <p>I get an error:
  <code>Cannot convert lambda expression to type 'object' because it is not a delegate type</code></p>