Microsoft KB Archive/867598

= Programming in the Key of C#: A Primer for Aspiring Programmers Comments And Corrections =

Article ID: 867598

Article Last Modified on 8/27/2004

-

APPLIES TO


 * MSPRESS Programming in the Key of C#: A Primer for Aspiring Programmers, ISBN 0-7356-1800-3

-



SUMMARY
This article contains comments, corrections, and information about known errors relating to the Microsoft Press book Programming In The Key Of C#: A Primer for Aspiring Programmers, 0-7356-1800-3.

The folowing topics are covered:


 * Page 224: Missing &quot;=&quot; In Code Sample
 * Page 231: Missing &quot;=&quot; In Code Sample
 * Page 254: Missing &quot;;&quot; In Code Sample
 * Page 257: 0 Should Be 55
 * Page 372: System.ID Should Be System.IO



Page 224: Missing &quot;=&quot; In Code Sample
There is an error in the fifth sentence of the fourth paragraph on Page 224.

Change:

&quot;i * i < iMax&quot;&quot;

To:

&quot;i * i <= iMax&quot;&quot;



ProductStudio BugID = 6733

Page 231: Missing &quot;=&quot; In Code Sample
There is an error in the second program instruction after the 'SkipLoop' label in the SieveWithGoto.cs program on Page 231.

Change:

&quot;if (i * i < iMax) goto NextBase;&quot;

To:

&quot;if (i * i <= iMax) goto NextBase;&quot;



ProductStudio BugID = 6732

Page 254: Missing &quot;;&quot; In Code Sample
There is an error in the first program instruction of the Main member function in the ReferenceParameters.cs program on page 254.

Change:

&quot;int iMyAge = 50&quot;

To:

&quot;int iMyAge = 50;&quot;



ProductStudio BugID = 6731

Page 257: 0 Should Be 55
On page 257, there is an error in the text following the ArrayValueParameter.cs code sample.

Change:

&quot;ChangeArray sets the first element of the array to 0, and also sets the array itself to null.&quot;

To:

&quot;ChangeArray sets the first element of the array to 55, and also sets the array itself to null.&quot;



ProductStudio BugID = 6642

Page 372: System.ID Should Be System.IO
There is a typographical error in the first sentence of the last paragraph on page 372.

Change:

&quot;Another important .NET Framework namespace is System.ID.&quot;

To:

&quot;Another important .NET Framework namespace is System.IO.&quot;



ProductStudio BugID = 6723

Microsoft Press is committed to providing informative and accurate books. All comments and corrections listed above are ready for inclusion in future printings of this book. If you have a later printing of this book, it may already contain most or all of the above corrections.

Additional query words: 0-7356-1800-3

Keywords: kbdocfix kbdocerr KB867598

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.