Italic type name and spacing

Chapter 1: The changing face of C# development: P6, listing 1.2

Created: 2/17/2011
Last updated: 2/17/2011
Severity: Typesetting error

The GetSampleProducts declaration in listing 1.2 has the return type in italics instead of in bold, and it has an extra space after it:

public static List<Product>  GetSampleProducts()

It should actually be in bold, with just one space:

public static List<Product> GetSampleProducts()