title: LINQ How to select more than 1 property in a lambda expression?
body: <p>We often use the following lambda expression</p>
  
  <pre><code>MyList.Select(x =&gt; x.Id).ToList();
  </code></pre>
  
  <p>Is possible to get more than 1 property usinglambda expression ? E.g <code>Id</code> and <code>Name</code> from MyList?</p>
  
  <p>I know that I can use the following syntax:</p>
  
  <pre><code>(from item in MyList
   select new { item.Id, item.Name }).ToList();
  </code></pre>
  
  <p>Can I do the same thing using lambda expression?</p>