C# in Depth

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

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

Errata for Chapter 15: Asynchrony with async/await

P473, section 15.3.2: Typo around Task<TResult>

The published text has (just after the list at the start of the section):

The difference between the two is essentially that Task<TResult> represents an operation that returns a value of type T [...]

The T should be TResult:

The difference between the two is essentially that Task<TResult> represents an operation that returns a value of type TResult [...]

P503, section 15.5.6: Last line of listing should be bold

The last line of the listing on page 502/503 has a comment of // Bold at the end. That was an instruction to make the line bold, rather than a normal C# comment, but unfortunately it wasn't picked up during layout.

P505, section 15.6.1: Note to production still present

In section 15.6.1, there's a note I left to the Manning production department:

// NOTE TO PRODUCTION: Please consult with Jon on formatting. Do not abbreviate!

Obviously this shouldn't have appeared in the final copy. Sorry about that!

P511, section 15.6.2: Missing space

On page 511, just after listing 15.13, there's a sentence missing a space:

There are two slight issues with listing15.13:

This should of course be:

There are two slight issues with listing 15.13: