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

Errata for Chapter 1: The changing face of C# development

P 13, final paragraph: Wording around null comparisons

When introducing nullable values, I say this in the book:

a product with an unknown price will be considered to be less expensive than $10, which is probably what we'd want.

It's not clear that this is because we use the greater-than operator to do the comparison with $10, and that greater than and less than comparisons with null values are always false. So, if instead of price > 10m our comparison had been !(price <= 10m) (a comparison which looks like it will do the same thing) we'd get the wrong answer.

This is fully explained on P125 when discussing nullable types in more depth.

P 18: Timeframe or time frame?

At the end of the second paragraph of page 18, I've used "timeframe" as one word. Apparently it's more commonly written as "time frame" so it should probably be written that way in the book.