Developers: Learn a New Programming Language or App Development with Deitel LiveLessons Videos!
s
menu
menu
Login  |  Register  |  Media Kit  |  Press  |  Contact Us  |   Twitter Become a Deitel Fan on Facebook  
Custom Search



 
AddThis Social Bookmark Button

Errata: C# How to Program

We wish to thank our many readers who took the time to email us with errata. If you find errata not listed on this page, please email us at deitel@deitel.com.Remember to include the book title and edition.


Note: You can determine which printing you have by looking at the bottom of the back of the second physical page in the book (page iv, but it has no page number). Just above the ISBN number is a list of numbers. For the first printing of the book, the list appears as follows:

10 9 8 7 6 5 4 3 2 1

The last number in the list is the printing number. So the above list indicates printing 1 and the following list indicates printing 2:

10 9 8 7 6 5 4 3 2

Contents

  • p. xvii L.11 Should read "Internet and World Wide Web Resources 1485"

Preface

  • p. LIII "Latha Lakshminaray (Microsoft)" should be "Latha Lakshminarayanan (Microsoft)"
  • p. LIII "Dave Haglin (Minnesota State University in Mankato)" should be "David Haglin (Minnesota State University in Mankato)"
  • p. LIV "Guarav Mantro (EDS PLM Solutions)" should be "Gaurav Mantro (EDS PLM Solutions)"

Chapter 3

  • Page 91 Answers to Self-Review Exercises questions, part e of 3.2 Integer.Parse should be Int32.Parse
  • p. 92 Exercise 3.11 should reference Exercise 3.10 instead of Exercise 3.12.
  • p. 93 Exercise 3.19 should be in Chapter 6 as the last exercise.

Chapter 4

  • Page 113 Second line after Fig. 4.9 Statement: The while structure (lines 26-39) is followed immediately by an if structure (lines 42-51) Should be: The while structure (lines 26-39) is followed immediately by an if/else structure (lines 42-53).
  • Page 122 Good Programming Practice 4.8 The word “nary” should be “unary.”
  • p. 124 "procedures" should be "methods" in the 5th sentence from the bottom.
  • p. 129 In Fig. 4.23 caption, "FrmASimpleProgram_Load" should be "ASimpleProgram_Load".
  • p. 129 Third line from bottom of paragraph, "Fig. 4.29" should be "Fig. 4.24". This image is not present in the book. Download image
  • p. 130 Last sentence in list item #5, "4.24" should be "4.25".
  • p. 130 In the Fig. Caption at the bottom of the page "4.24" should be "4.25".
  • p. 134 Exercise 4.2, Part (i) should read: The while structure body may be a single statement or a block.

Chapter 5

  • p. 145 In Testing and Debugging Tip 5.2, "loo" should be "loop".
  • Page 146 Fig. 5.4 “Console.WriteLine( counter * 10 );” should be “Console.WriteLine( counter );”
  • p. 148 Fig. 5.6, the ∞ (infinity symbol) in the description for MessageBoxIcon.Error should be the * (multiplication symbol).
  • Page 165, Bottom of page, “constructor” should be “method.”

Chapter 6

  • p. 186 Common Programming Error 6.5, "syntax" should be "compilation".
  • p. 187 Common Programming Error 6.8, "syntax" should be "compilation".
  • p. 195 Common Programming Error 6.11, "change the value" should be "result in loss of data". The last sentence "Also, ..." should be deleted.
  • pages 196 and 197, the infinity symbol should be replaced with a multiplication symbol.
  • p. 199 Line 66 "SqaureOut" should be "SquareOut". Same in screen shot on p. 200.
  • p. 211 First paragraph, fifth line, "CRAPS," should be deleted.
  • p. 233 Exercise 6.11 "label" should be "Label".

Chapter 7

  • p. 245 Second paragraph, fourth sentence, "95-115" should be "85-111".
  • Page 245, First line, “…be incremented during…” should be “…be incremented when DisplayDie method invoked…”
  • p. 245 Second paragraph, third sentence from bottom, "69-81" should be "59-71".
  • Page 245 Last line before Fig. 7.6, Label should be RichTextBox.
  • p. 243 Line 1 "7.6" should be "7.5".
  • p. 245 Line 1 "7.7" should be "7.6".
  • p. 246 Line 82 "Main" should be "rollButton_Click".
  • p. 248 Line 1 "7.5" should be "7.7".
  • Page 250 Last paragraph, line 2: Reference to line 33 should be a reference to line 35.
  • Page 252 Line 2 in paragraph after Fig. 7.8: Reference to line 44 should be a reference to line 49.
  • p. 253 Second sentence from the bottom: "on line 40" should be "on line 52".
  • Page 256 Third line from bottom, “procedure” should be “method.”
  • Page 257 Software Engineering Observation 7.1, “procedure” should be “method.”
  • Page 260 Beginning of Section 7.8.1, reference to line 40 should be a reference to lines 46-50.
  • p. 260 Second paragraph: "clicks the findButton to start" should be "clicks the searchButton to start".
  • p.260: The sentence “The program contains a 100-element array filled with even integers from 0-198” should read “The program contains a 25-element array filled with even integers from 2-50.”
  • p. 264 Line 81 "BinarySearch" should be "binary search".
  • Page 266 Fig. 7.13, “Column index ( or “ should read “Column index (or subscript).”
  • p. 267 First sentence (in the comment): "in row 0" should be "in row 1".
  • p. 267, top of page: “// allocate and initialize elements in row 0” should be “// allocate and initialize elements in row 1.”
  • Page 268 Second paragraph after Fig. 7.14, “to string output” should be “to outputLabel’s Text property.”
  • p. 272/273 Fig. 7.16 caption "Using For Each/Next with an array." should be "Using foreach with an array.".
  • p. 273 First paragraph, third line, "Line 15" should be "Line 17".

Chapter 8

  • p. 283 In paragraph below Software Engineering Observation 8.2, "(an susequent examples)" should be "(and subsequent examples)".
  • p. 288 In the second to last sentence, "by a the member" should be "by the member".
  • p. 298, 3rd paragraph: “The set accessors of a property cannot return values indicating a failed attempt to assign invalid data to objects of the class” should be “The set accessors of a property can return values indicating a failed attempt to assign invalid data to objects of the class.”
  • p. 333: The 4th line from the bottom of the page should read “TimeTest1,” not “TimeTest.”

Chapter 9

  • p. 348 In third paragraph, first sentence "Class" should be "class".
  • p. 359, line 2 of Fig. 9.10: Circle2 should be Circle3.
  • p. 360 Line 1, "/" should be "//".
  • p. 365 In Software Engineering Observation 9.7, "value to that the value" should be "value to that member variable".
  • p. 375, Fig. 9.18, line 67 should read “public override string ToString()”
  • p. 375, Fig. 9.18, line 69: Point3 should be Point4.
  • p. 366 First paragraph, sixth line, "Software Engineering Observation 8.11" should be removed.
  • p. 373 Line 67 "x" should be "X" and "y" should "Y".
  • p. 374/375 In Fig. 9.18 caption, "Point3" should be "Point4".
  • p. 375 code line 67 should say "public override string ToString"
  • p. 376 In first paragraph, third sentence, "a an" should be "an".
  • p. 376 Line 7 and 8 "ConstructorAndFinalizer" should be "ConstructorAndDestructor".

Chapter 10

  • p. 386 In second to last sentence, "String" should be "string". There are two occurences on this line.
  • p. 387 Line 23 "CCircle" should be "Circle". Same for screen shot on p. 388.
  • p. 400 First sentence: "Class Test2" should be "Class AbstractShapesTest".
  • p. 402 In Section 10.7, second paragraph, "provides is applied" should be "is applied".
  • p. 406 In Fig. 10.11, line 1, "CommisionWorker.cs" should be "CommissionWorker.cs".
  • p. 437 In Exercise 10.2, part (h). The answer should be: "True. You can also use keyword abstract to declare an abstract class."
  • p. 437 In Exercise 10.6, "Fig. 10.10" should be "Fig. 10.9", "Private" should be "private" and "Day" should be "Date".

Chapter 11

  • p. 446 In the fourth paragraph, second line, "handlers" should be "blocks".
  • p. 446 In the fourth paragraph, fifth line, "parenthesis" should be "parentheses".
  • p. 461 In the paragraph below Good Programming Practice 11.2, first sentence, "CLLR" should be "CLR".
  • p. 462 Last paragraph, first sentence, "Figure 11.5" should be "Figure 11.4".

Chapter 12

  • p. 494 In the third paragraph, line 3, "87" should be "86".
  • p. 501 In first paragraph, lines 5 and 8, "line 60" should be "line 39".
  • Page 503 Lines 31 and 32 should use the names iconTypeGroupBox and buttonTypeGroupBox in place of groupBox1 and groupBox2. The same is true for the writearound of this application.
  • p. 506 In the third paragraph, line 3, "is the used" should be "is used".
  • p. 516 In the first bullet, "HScrollbars" and "VScrollbars" should be "scrollbars" and the last sentence should be removed.
  • p. 516 In the right column of the terminology list, "HScrollbar class" should be "Hide property".
  • p. 517 In the right column of the terminology list, "VScrollbar class" should be "Visible property". This should be swapped with the term above it.

Chapter 13

  • p. 531 In the caption for Fig. 13.5, "in the design phase and" should be removed.
  • p. 548 first line, "New" should be "new".
  • p. 548 In line above Fig. 13.17, "New" should be "new".
  • p. 548 In second and third code lines from the top, "Nodes(myIndex)" should "Nodes[myIndex]".
  • p. 570 In first paragraph, third line and last line, "LayoutMdi enumeration" should be "MdiLayout enumeration".
  • p. 570 In Fig. 13.35 caption, "LayoutMdi" should be "MdiLayout".
  • p. 575 In Fig. 13.38 caption, "FrmInheritance" should be "VisualInheritance".
  • p. 576 In second paragraph, third line, "OK" should be "Open".
  • p. 577 In Fig. 13.40 caption, "FrmVisualTest" should be "VisualInheritanceTest" and "VisualForm.FrmInheritance" should be "VisualInheritance.VisualInheritance".
  • p. 589 In Exercise 13.8, in the second and fourth sentences, "String" should be "string".

Chapter 14

  • p. 606 In second paragraph, lines 6 and 7, "class class" should be "class".
  • p. 612 In first line of the output, "C" should be "Count".
  • p. 617 In second paragraph, last sentence, "requires" should be "required".

Chapter 15

  • p. 636 In Fig. 15.2 caption, "properties" should be "property".
  • p. 640 In last paragraph, second line from the bottom, "higher" should be "lower".
  • p. 649 In second paragraph, third sentence from bottom, "string1" should be "string2".
  • p. 669 Fig. 15.20 the example on the book's CD is incorrect. This has been updated in the examples at www.deitel.com/books/downloads.html.
  • p. 672 In Fig. 15.21 caption, "used regular" should be "used in regular".
  • p. 672 Fig. 15.22 the example on the book's CD is incorrect. This has been updated in the examples at www.deitel.com/books/downloads.html.
  • p. 677 Fig. 15.23 the example on the book's CD is incorrect. This has been updated in the examples at www.deitel.com/books/downloads.html.
  • p. 677 Fig. 15.23, Lines 30 and 38, at the end of the string, "\t" should be "\t\t".

Chapter 16

  • p. 686 In Fig. 16.1, beneath "System.Drawing", "SolidBrush" and "TextureBrush" ovals should be removed.
  • p. 687 In the first paragraph in Section 16.2, fifth sentence, "an virtual" should be "a virtual".
  • p. 699: In the description of GetEmHeight, “design points” should be “design units.”
  • p. 714 In line 103, "(DashCap)LineCap.Round" should be "DashCap.Round".
  • p. 726 Line 64, "false" should be "true".
  • p. 729 Line 247 "are" should be "area".
  • p. 742 Line 1 "16.28" should be "16.37".

Chapter 17

  • p. 822 In line 1, "17.22" should be "17.21".
  • p. 827 In line 1, "17.21" should be "17.22".

Chapter 18

  • p. 856 Last paragraph, third line from bottom, "Lines 171-184" should be "Lines 178-181".
  • p. 857 First paragraph, first line, "Line 177" should be "Line 184".
  • p. 857 First paragraph, second line, "180" should be "187".
  • p. 857 First paragraph, lines 3 and 4, "187-190" should be "194-197".
  • p. 857 First paragraph, line 8, "199" should be "206".
  • p. 871 Last paragraph, second line, "urn:schemas-microsoft-com:data" should be "urn:schemas-microsoft-com:xml-data".

Chapter 19

  • p. 896 Section 19.6, "DBMS" should be "Database".
  • p. 898 Section 19.3, first paragraph, the last two sentences should be deleted.
  • p. 919 In Fig. 19.25, last row, "Suet" should be "Sue".
  • p. 922 Line 32 "Users" should be "Authors".
  • p. 942 Third bullet from the bottom should read:

    SELECT fieldName1, fieldName2, … FROM table1 INNER JOIN table2 ON table1.fieldName = table2.fieldName

Chapter 20

  • p. 967 In the second paragraph, third line from bottom, "The" should be "They".
  • p. 990 In the last paragraph, first line, "Line 36" should be "Line 35".
  • p. 990 Second paragraph, third sentence: "Recommendations.aspx" should be "RecommendationsPage.aspx".
  • p. 994 In the first paragraph, fourth line, "lines 58-59" should be "lines 57-58".
  • p. 1006 Third paragraph, second sentence, "Line 58" should be "This line".
  • p. 1019 Paragraph at the bottom, first line, "47-69" should be "49-71".
  • p. 1019 Paragraph at the bottom, first line, "59-60" should be "60-61".
  • p. 1020 First line of the page, the text should read, "...the Users table of the login database...".
  • p. 1020 First paragraph, "64-65" should be "65-66".
  • p. 1020 Third paragraph, second sentence, "75-110" should be "76-111".
  • p. 1020 Fourth paragraph, second sentence, "75-110" should be "76-111".
  • p. 1020 Fourth paragraph, fifth sentence, "98-102" should be "99-103".
  • p. 1025 Line 112, "dataset" should be "dataview".
  • p. 1027 Second paragraph, fifth sentence, "40" should be "46".
  • p. 1027 Second paragraph, third sentence: "fill" should be "Fill".
  • p. 1064 Line 47, "2" should be "1" and "15" should be "14".
  • p. 1065 Line 86, "14" should be "1".

Chapter 21

  • p. 1104 Exercise 21.1 part (c), The question should read: If a Web service is referenced by adding a Web reference to a client in Visual Studio .NET, a proxy class is created.

Chapter 22

  • p. 1120 Line 1, "22.5" should be "22.3".
  • p. 1122 Fig. 22.4, Line 1, "22.6" should be "22.4".
  • p. 1125 Last paragraph, last sentence, "22.7" should be "22.6".

Chapter 23

  • p. 1175 Second paragraph, first line, "67-74" should be "111-121".
  • p. 1183 Line 54 "traveral" should be "traversal".
  • p. 1184 Lines 58 and 63 "traveral" should be "traversal".

© 1992-2005. Deitel & Associates, Inc. All Rights Reserved.

c

 

Discounts on SafariBooksOnline.com subscriptions

 
Java How to Program, 7/e Cover


ISBN: 0130622214
© 2002

Order now at
Amazon.com
Informit.com

Additional Resources
Download Code
Examples and
Other Premium
Content for
Registered Users

Login or Register to download this book's code examples and other premium content.

foot
Update :: April 29, 2017