Errata

.Net Framework Essentials

Errata for .Net Framework Essentials

Submit your own errata for this product.

The errata list is a list of errors and their corrections that were found after the product was released.

The following errata were submitted by our customers and have not yet been approved or disproved by the author or editor. They solely represent the opinion of the customer.

Color Key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update

Version Location Description Submitted by Date submitted
Printed Page 10
Second paragraph

Sentence: Unlike Java's bytecode, though, IL is never interpreted.

The abbreviation "IL" isn't defined until page 28.

Anonymous   
Printed Page 10
2nd from last sentence in 2nd paragraph

Please switch "functional" and "a" around. It should look like this:
"...which is a functional subset of the CLR..."

The entire sentence should read:
"Microsoft has submitted the Common Language Infrastructure (CLI), which is a functional subset of the CLR, to ECMA, so a third-party vendor could theoretically implement a CLR for a platform other than Windows."

Anonymous   
Printed Page 14
C# code example at the bottom (hello.cs)

Currently the example (hello.cs) reads like this:

1. using System;
2.
3. class MainApp
4. {
5. public static void Main()
6. {
7. Console.WriteLine("C# Hello, World!");
8. }
9. }

In order for the example on page 23 (which uses the Reflection API to inspect the hello.exe file) to work, line 3 above must be changed to:

public class MainApp

Otherwise this example does not work using .NET Framework SDK Beta 2, which is downloadable from Microsoft.

Anonymous   
Printed Page 22
Code

compiling the code, even with the proposed change from
public class Meta to public class MainApp produces the following error:

usereflect.cs(3,1): error CS0116: A namespace does not directly contain members such
as fields or methods

Anonymous   
Printed Page 75
Fifth paragraph (item 3. in the list of steps to register shared

assemblies);

The Global Assembly Cache Utility is referred to as "gactutil.exe" -- it
should be "gacutil.exe".

Anonymous   
Printed Page 85
Second footnote

HTPP should probably be HTTP.

Anonymous   
Printed Page 124
Figure 5-3

There are five tree structures in Figure 5-3 on page 124. The bottom tree structure has a parent box reading, "DBDataAdapter". It should read "DbDataAdapter". (The second character, "B", should be lower-case.)

Anonymous   
Printed Page 129
2nd paragraph

In the second sentence, "OleDbAdapter" should be "OleDbDataAdapter".

Anonymous   
Printed Page 129
under the figure 5-4

In the name of the figure "DataSetCommand" should be "DataAdapter"

Anonymous   
Printed Page 170
last paragraph

The example uses HttpPost protocol, so SOAP should be HttpPost.

Anonymous   
Printed Page 199
The example in the paragraph labeled "@Page" (4th paragraph)

The example on page 199 for the "@Page" directive reads:
<@ Page Language="VB" ErrorPage="URL" EnableViewState="true">

Someone forgot to add the percent signs at the beginning and at the end of the directive. It should read like this:
<%@ Page Language="VB" ErrorPage="URL" EnableViewState="true"%>

Anonymous   
Printed Page 199
Following 3rd paragraph in Directives section

Page directive example written as:

<@ Page Language="VB" ErrorPage="URL" EnableViewState="true">

should be written as:

<@ Page Language="VB" ErrorPage="URL" EnableViewState="true" %>

since it is a directive.

Anonymous   
Printed Page 239
Figure 8-1 - top of page - Where is the ControlBox?

In the last paragraph on page 238, the author speaks of turning off the ControlBox. However, as I am reading it, I am having trouble understanding where and what the ControlBox is. It would be helpful if it was specified what the ControlBox is in Figure 8-1 at the top of page 239.

Anonymous   
Printed Page 274
30th line of code

30TH LINE OF CODE IS : arrIterator.Reset() ;

This doesnt work and generate a InvalidOperationException.

I think, Enumerator becomes invalid if anychanges is made to the ArrayList. Since Sort is called before the Reset, enumerator becom
es invalid!

Maybe the code should be written like this,

CODE FROM LINES 22 TO 34

i = 0;
arrIterator = arrList.GetEnumerator();
Console.WriteLine("There are: {0} days in a week.", arrList.Count);
while(arrIterator.MoveNext())
{
Console.WriteLine("[{0}] {1}", i++, arrIterator.Current);
}
arrIterator.Reset();
arrList.Sort();

i = 0;
// Since Sort is called before this line,Enumerator becomes invalid
//and so Reset called earlier is of no use. We have to create a new
//Enumerator to go though the list.

arrIterator = arrList.GetEnumerator();
Console.WriteLine("Sorted as Text");

while(arrIterator.MoveNext())
{
Console.WriteLine("[{0}] {1}", i++, arrIterator.Current);
}

Anonymous   
Printed Page 305
last paragraph

the shrimp in question is blind, not the gobies. Consequently, the shrimp, being nearly
blind, doesn't do much of the hunting; the goby provides food for rent.
http://www.coralrealm.com/sampleFeature.ihtml

Anonymous