Chapter 5 from Head First C#