Microsoft LINQ Books

Programming Microsoft LINQ & Introducing Microsoft LINQ
Welcome to Microsoft LINQ Books Sign in | Join | Help
in Search

small bug on Page 80

Last post 08-21-2007, 11.48 by Paolo.Pialorsi. 1 replies.
Sort Posts: Previous Next
  •  08-18-2007, 8.56 39

    small bug on Page 80

    First of all, I really like the book, I am (slowy) working my way through the bok, and I really enjoy the fact that you show both the IEnumerable<T> extension methods signatures, together with the query syntax. Too many books just focus on the query syntax in my opinion. 

    in Listing 4-10, the type of the result is "IEnumerable<Order> orders", which is not correct, since we are performing a "select new {..}", which creates an anonymous type. So, you should probably use "var order" as the type of the result.

     Bennie Haelen (http://footheory.com/blogs/bennie/default.aspx)

     

    Filed under:
  •  08-21-2007, 11.48 41 in reply to 39

    Re: small bug on Page 80

    Hi Bennie,
    you're right, we'll fix the book and provide an updated "errata corrige" downloadable file.

    Thanks for your support and your apreciation for the book.

    Bye,
    Paolo Pialorsi

    Filed under:
View as RSS news feed in XML
Powered by Community Server (Personal Edition), by Telligent Systems