p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   BOOK: C# 5.0 Programmer's Reference (http://p2p.wrox.com/forumdisplay.php?f=755)
-   -   Chapter 6 Errata (http://p2p.wrox.com/showthread.php?t=95392)

enderandpeter December 28th, 2015 09:48 PM

Chapter 6 Errata
 
134
The DrawableRectangle class definition has a Bounds method, but really means to have a GetBounds method to match the IDrawable interface.

141
The sentence:
It saves the result returned by BeginInvoke, which is an IAsynchResult object.
should read:
It saves the result returned by BeginInvoke, which is an IAsyncResult object.
147
The example code:
Code:

Piece[] Board = new Piece[8, 8];
should actually have a comma in the first set of brackets, for the syntax for initializing a multi-dimensional array:
Code:

Piece[,] Board = new Piece[8, 8];

Rod Stephens January 1st, 2016 12:47 PM

You're' right about these. Hopefully they were just annoying and not confusing.

Happy New Year!

enderandpeter January 2nd, 2016 03:01 AM

More annoyning than confusing
 
Yeah, these are just little things I come across as I read through this splendid guide. This book is a truly wonderful resource. I'm going through it as a primer for my adventures with Unity, and I feel like I'm getting a strong foundation of knowledge, so thanks!


All times are GMT -4. The time now is 08:04 PM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.