View Single Post
  #2 (permalink)  
Old August 30th, 2006, 03:03 AM
DaveSussman DaveSussman is offline
Authorized User
 
Join Date: Dec 2003
Location: , , United Kingdom.
Posts: 46
Thanks: 0
Thanked 1 Time in 1 Post
Default

These are errors; in C# arrays are declared with the number of items, but the indexing starts from 0 when you index into the array. So it's declared with 4 items, but contains items 0-3.

Interestingly, these were correct in my original chapter. I'll check the edits to see where this crept in.