Topic: .NET

Professional .NET 2.0 Generics (0764559885) cover image

Professional .NET 2.0 Generics

Tod Golding
ISBN: 978-0-7645-5988-4
Paperback
408 pages
October 2005
This title is out-of-print and not currently available for purchase from this site.

Do you think you've discovered an error in this book? Please check the list of errata below to see if we've already addressed the error. If not, please submit the error via our Errata Form. We will attempt to verify your error; if you're right, we will post a correction below.

ChapterPageDetailsDatePrint Run
5 Error in Code
first block of code, line below the C# heading:

SalesPerson aSalesPerson = (SalesPerson)child[0].Data;

should be:

SalesPerson aSalesPerson = (SalesPerson)child1[0].Data;
07/11/2007
2 25 Error in Text
There is no need for explicit casting in the line below:
Object[] orders = (Object[])cust.Items;

should be:
Object[] orders = cust.Items
09/23/08
31 Error in Code
2nd and 4th shaded code blocks, under each [C# code] heading:
1st line of each:
Interace

should be:
interface
5/30/06
31 Error in Code
2nd and 4th shaded code blocks, under each [C# code] heading:
2nd line of each, in Public:
P

should be:
p
5/30/06
51 Error in Code
code block, VB code, 5th line:

"False"

should be:

"True"
07/11/2007
58 Error in Code
In the VB Code example (top shaded code block), 4th line from end:
Dim cache2 As New MyCache(Of String, String)()

should be:
Dim cache2 As New MyCache(Of String, Integer)()
1/11/06
102 Error in Code
2nd and 4th lines of shaded code on the page (both C# lines):
the ending section of both lines in parens:
(Byval val As Order)

should be:
(Order val)
7/26/06
116 Error in Code
Page 116, 2nd shaded code section (C#), lines 9 and 10

Code reads:

public bool Update() {
return false;

Should be:

public void Update() {
07//31/06