Microsoft KB Archive/304911

= Inside C# Comments And Corrections =

Article ID: 304911

Article Last Modified on 2/1/2002

-

APPLIES TO


 * MSPRESS Inside C# ISBN 0-7356-1288-9

-



This article was previously published under Q304911



SUMMARY
This article contains comments, corrections, and information about known errors relating to the Microsoft Press book Inside C#, ISBN 0-7356-1288-9.

The following topics are covered:


 * Page 16: Error In Code Sample
 * Page 132: Incorrect Information About Two Dimensional Array



Page 16: Error In Code Sample
The code sample on page 16 contains errors on line 11 and 21. Change:

public void CalculatePay (int hoursWorked)

To:

public double CalculatePay (int hoursWorked)

Page 132: Incorrect Information About Two Dimensional Array
On page 132, in the first paragraph after the the code shown on the page,

Change:

&quot;Therefore, in the case of a two dimensional array of 5 by 4, the Length property would return 9.&quot;

To:

&quot;Therefore, in the case of a two dimensional array of 5 by 4, the Length property would return 20.&quot;

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.

