C# in Depth

Missing type parameter (Chapter 2)

On page 35, in the declaration of the LastOrDefault method I forgot to include the type parameter T. The first line of the code should look like this:

public T LastOrDefault<T>(IEnumerable<T> source)

All errata