Using game creation as a teaching tool, this book not only teaches C#, it also teaches the fundamental programming concepts you need to grasp in order to learn any computer language. You will be able to take the skills learned in this book and then apply them to your own situation. Microsoft C# Programming for the Absolute Beginner is a unique book aimed at the novice programmer. Developed by computer science instructors, this series is the ideal tool for anyone with little to no programming experience.
About the Author
Andy Harris began teaching computing at the university level in the late 1980s as a part-time job. Since 1995, he has been a full-time lecturer at the Computer Science Department of Indiana University - Purdue University at Indianapolis (IUPUI). He now manages the IUPUI Streaming Media Lab and teaches classes in several programming languages. Andy resides in Noblesville, Indiana. Every so often in the programming world, a new idea is introduced that threaten to change everything. Although this is often a matter of hyperbole, the reality is that the world of programming changes with dizzying speed. If it is difficult for practicing programmers to stay current with the latest language developments, it might seem impossible for beginning programmers to work with the latest and most powerful languages.
Microsoft promises a groundbreaking development with the introduction of the .NET architecture. This programming environment clearly has the potential to be a major player in the programming universe. The .NET framework promises all kinds of things that advanced programmers have been clamoring for, such as a simplification of the C++ syntax, an easy-to-use object model, and integration of databses into programming languages. However the languages of the . NET framework are not only for advanced programmers. Many of the innovations of C# make it an ideal starting place for beginning programmers. C# is much safer and simpler to start with than many of the other variations of C, and it has a visual interface and powerful editor that provide tons of help. The features that make C# a more advanced language often make it simpler to learn. Not more complex.
CONTENTS AT A GLANCE
CHAPTER 1 Basic Input and Output : A Mini Adventure 1
CHAPTER 2 Branching and Operators: The Math Game 35
CHAPTER 3 Loops and Strings : The Pig Latin Program 67
CHAPTER 4 Objects and Encapsulation : The Critter Program 99
CHAPTER 5 Constructors, Inheritance, and Polymorphism:
The Snowball Fight 129
CHAPTER 6 Creating a Window Program : The Visual Criter 165
CHAPTER 7 Timers and Animation : The Lunar Lander 211
CHAPTER 8 Arrays : The Soccer Game 253
CHAPTER 9 File Handling : The Adventure Kit 293
CHAPTER 10 Chapter Baic XML: The Quiz MAKER 345
CAHPTER 11 Database and ADO.NET : The Spy Database 397