title: How can anonymous types be created using LINQ with lambda syntax?
body: <p>I have a LINQ query that uses lambda syntax:</p>
  
  <pre><code>var query =
      books
          .Where(book =&gt; book.Length &gt; 10)
          .OrderBy(book =&gt; book.Length)
  </code></pre>
  
  <p>I would like to create an anonymous type to store the projection, similar to:</p>
  
  <pre><code>var query = from book in books
              where book.Length &gt; 10
              orderby book
              select new { Book = book.ToUpper() };
  </code></pre>
  
  <p>How do I "select new" in lambda syntax ?</p>
  
  <p>Thanks,</p>
  
  <p>Scott</p>