Start Here! Learn Microsoft C# 2010 Chapter 3 Summary

I’m always looking for better ways to present an idea or concept in my books. Sometimes a chapter will change quite a few times and I might even make last minute changes, just to ensure that the chapter provides the best information possible. Unfortunately, those last minute changes can cause problems, as has happened with the Get Going with C# section in Chapter 3 of Start Here! Learn Microsoft Visual C# 2010 Programming. A reader wrote me about being confused after reading a chapter that discusses TextBox controls and then being told that the chapter actually discusses the ListBox control.

I originally started writing the example in Chapter 3 using two ListBox controls. However, the coding concepts that I wanted to demonstrate were made harder by the use of these controls. So, I instead chose to use two TextBox controls with the Multiline property set to True. The effect looks much the same, but the features of the two controls are different and using the TextBox controls made things simpler for the reader. As far as I’m concerned, making things simple is always better than getting too fancy.

There are, in fact, five examples in this chapter named ListProject1 through ListProject5 and they all use TextBox controls in the interest of simplicity. Because the focus of this chapter is on LINQ and not on the ListBox control, there really isn’t a problem in using something that looks like it could be a ListBox, but is really a TextBox. If anything, it demonstrates that you can obtain similar results using several different approaches in C#, which is always good to know. Even so, this is another demonstration that errors do occur in book (as stated in my Errors in Writing post).

The examples all work as stated and you’ll still learn about working with LINQ.  The chapter is complete, despite the feeling that there is something missing when you see that summary. The only difference is that you need to substitute TextBox for ListBox in the Get Going with C# section of the chapter. Please let me know if you encounter any other errors in the book and I’ll be sure to mention them here. In the meantime, please contact me at if you have any questions or concerns about this book. I’ll be happy to help you in any way I can .