Microsoft LINQ Books

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

Re: Bug in list 4-21

  •  08-21-2007, 11.59

    Re: Bug in list 4-21

    Hello again Bennie,
    I'm very happy to know that you are enjoying the book, please let us know your feeling when you'll finish reading it, we're really interested in your feedback.

    About your issue, to tell the true the output is correct and the Console.WriteLine written in the book is correct, too. In fact in sample code (downloadable from here) you can see that the ToString method of the Order type overrides the base class behavior. Here is the code: 

            public override string ToString() {
                return String.Format( "{0} - {1} - {2} - {3}", this.Quantity, this.Shipped, this.Month, this.IdProduct );
            }

    By the way I'll surely keep in mind your issue for future releases of the book, in order to make it more clear.

    Thanks again,
    Paolo Pialorsi

    Filed under:
View Complete Thread
Powered by Community Server (Personal Edition), by Telligent Systems