currently I am reading the book mentioned in the subject title. Beside some typos (I guess ~DH on page 42 is not an operator) the first part of the book offers good content. However, on page 104 is described how generic methods are used and how they differ from the nongeneric version (based on this example
). It looks to me if the text suggests that the ref
keyword is always used in generic methods, which is not the case. Also test question 15 on page 108 points in that direction. The cheat sheet on page 111 does not mention this condtion for value type arguments in generic methods.
Something else, the review of key terms describes signature
on page 112 and says that the return type is one of the identifying components. On page 88 (first alinea) is explained that the return type is not a unique component of the signature. I think the latter is right.
I hope that my comments tribute to the quality of the book and correct me if I am wrong in my interpretations.