C# in Depth

Cover of C# in Depth
Order now (3rd edition)

(You are currently looking at the second edition version of this page. This page is also available for the third and first editions.)

Errata for Chapter 13: Minor changes to simplify code (C# 4)

P367, section 13.1.1: Incorrect annotation reference

Just after listing 13.1, I have the following text:

The first call [2] explicitly specifies all the arguments; the remaining calls ([2] and [4]) omit one or two arguments respectively

The second occurrence of [2] should actually be [3]:

The first call [2] explicitly specifies all the arguments; the remaining calls ([3] and [4]) omit one or two arguments respectively

P375, section 13.1.2: Clarifying the explanation of listing 13.4

After listing 13.4, the explanation starts with:

In both cases, the parameters in the Dump method are still 1, 2, and 3, in that order

This would perhaps be clearer as:

In both cases, the parameters x, y and z in the Dump method still have the values 1, 2, and 3 respectively.