Unconfirmed Errors .NET Framework Essentials By Thuan Thai & Hoang Lam Unconfirmed error reports are from readers. They have not yet been approved or disproved by the author or editor and represent solely the opinion of the reader. This page was updated May 7, 2001. Here's a key to the markup: [page-number]: serious technical mistake {page-number}: minor technical mistake : important language/formatting problem (page-number): language change or minor formatting problem ?page-number?: reader question or request for clarification UNCONFIRMED errors and comments from readers: (10) Second paragraph; Sentence: Unlike Java's bytecode, though, IL is never interpreted. The abbreviation "IL" isn't defined until page 28. (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." {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. [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 <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". (85) Second footnote; HTPP should probably be HTTP. {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"%> (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.) [129] 2nd paragraph; In the second sentence, "OleDbAdapter" should be "OleDbDataAdapter". (129) under the figure 5-4; In the name of the figure "DataSetCommand" should be "DataAdapter" (170) last paragraph; The example uses HttpPost protocol, so SOAP should be HttpPost. (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. [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. [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); } {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