WILEY

KNOWLEDGE FOR GENERATIONS

WILEY - KNOWLEDGE FOR GENERATIONS

United States Change Location

cart.gif CART |  MY ACCOUNT |  CONTACT US |  HELP    
Cover image for product 0470124725
Professional C# 2005 with .NET 3.0
ISBN: 978-0-470-12472-7
Paperback
1800 pages
June 2007
US $59.99 Add to Cart

This price is valid for United States. Change location to view local pricing and availability.

Other Available Formats: Adobe E-Book
  • Description
  • Table of Contents
  • Author Information
  • Errata
  • Related Websites
  • Download

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
xliii Typo in Code
Mid-page, in code example:
Systm.Collections;

Should be:
System.Collections;
10/29/07
XLIV Error in Code
In the first code segment on this page, the word "partial" is omitted between "public" and "class". From my experiments with the compiler, you cannot attach a partial class definition (as in the second block of code) unless all the definitions include the word "partial".
11/21/2007
41 Error in Text
in the integer types table:

longt

should be:

long
07/19/2007
44 Error in Text
Decimal Type table is listed as both Decimal Type and Boolean Type.

Table should appear as:

Name bool
CTS Type System.Boolean
Values true or false

A new version of page 44 showing the correct table is available in the Downloads section.
07/19/2007
52 Error in Code
for (int i = 0; i < 100; i+1)
{
Console.WriteLine(i);
}

Should be:

for (int i = 0; i < 100; i = i+1)
{
Console.WriteLine(i);
}
07/25/07
63 Error in Text
rogram

should be:

program
10/02/2007
77 Error in Code
public int subscriberId;

should be:

public int _subscriberId;
01/28/2008
99 Error in Code
public Car ( ... ) : this(Model,4)

should be :

public Car ( ... ) : this(description,4)
08/20/2007
132 Error in Code
if ((result == Withdraw(amount))

should be:
if ((result = Withdraw(amount)))
10/11/07
137 Error in Text
"Declaring this 2-dimensional array with C# is done by putting a semicolon inside the brackets."

should be:
"Declaring this 2-dimensional array with C# is done by putting a comma inside the brackets."
11/06/07
138 Error in Text
mid-page:

"By using two semicolons inside the brackets, you can declare a 3-dimensional array:"

should be:
"By using two commas inside the brackets, you can declare a 3-dimensional array:"
11/06/07
149 Error in Code
Enumerator enumerator = new Enumerator();

should be:

Enumerator enumerator = new Enumerator(0);
02/06/2008
151 Error in Example
for (int i = 3; i >= 0; i-)

Should be:
for (int i = 3; i >= 0; i--)
11/06/07
217 Addition to Text
Add the variable busEntity referencing a new object of type BusEntity to the class Form1:
private BusEntity busEntity = new BusEntity();
02/06/2008
218 Error in Code
The word "brackets" needs to be removed from code.
08/30/2007
260 Error in Code
public delegate TSummary Action(TInput t, TSummary s);

public static TSummary AccumulateG(IEnumerable coll,
Action action)
{
TSummary sum = default(TSummary);

foreach (TInput input in coll)
{
sum = action(input, sum);
}
return sum;
}

In the code above:
TOutput

should be:
TSummary
11/05/07
266 To Clarify GetNullableType()
GetNullableType() was just meant to be a placeholder.
You can implement it this way:

int? GetNullableType()
{
return null;
}

OR this way:

int? GetNullableType()
{
return 4;
}

OR add any implementation.
11/13/07
492 Error in Text
After you build the assembly, the reference can be seen...

Should be:
After you've used a type from the C++ assembly and built the assembly, the reference can be seen...
09/20/07