title: Cannot implicitly convert type 'System.Collections.Generic.List<System.Collections.Generic.IEnumerable<long>>' to <long>'
body: <p>I wrote the following LINQ statement inside my ASP.NET MVC web application:</p>
  
  <pre><code>List&lt;long&gt; ids = TServers
    .Select(a =&gt; a.TVirtualMachines
       .Select(a2 =&gt; a2.Technology.ID.Value))
    .ToList();
  </code></pre>
  
  <p>What I am trying to achieve is to do the following:</p>
  
  <p>we have Tservers , which have a collection of TVirtualMachines, and each TVirtualMachine is associated with on Technology. and i want to select the Technology.ID for all the TVirtualMachine what are under a Tserver. but my above code will return the following error:</p>
  
  <blockquote>
    <p>Cannot implicitly convert type 'System.Collections.Generic.List>' to 'System.Collections.Generic.List'</p>
  </blockquote>