title: Cannot retrieve property from list of objects
body: <p>I've searched other questions but they don't seem to come across this issue.</p>
  
  <p>This is the line of code I'm having trouble with:</p>
  
  <pre><code>tenderName = _vfpTenderTypes.Where(x =&gt; x.ID == tenderCode)
                              .Select(x =&gt; x.Name).ToString().Trim();
  </code></pre>
  
  <p>I have a list of objects (<code>_vfpTenderTypes</code>), each object has a few properties (<code>ID</code> &amp; <code>Name</code> in this case). I want to retrieve the name of an object where the object <code>ID</code> matches a provided number (<code>tenderCode</code>).</p>
  
  <p>When the code is run <code>tenderName</code> gets populated with the below text instead of the objects Name:</p>
  
  <blockquote>
    <p>System.Linq.Enumerable+WhereSelectListIterator`2[Models.TenderType,System.String]</p>
  </blockquote>