O'Reilly logo

Sams Teach Yourself Visual C# 2008 in 24 Hours: Complete Starter Kit by James Foxall

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 15. Debugging Your Code

<feature><title>What You’ll Learn in This Hour</title> <objective>

Adding comments to your code

</objective>
<objective>

Identifying the two basic types of errors

</objective>
<objective>

Using the Output window

</objective>
<objective>

Creating a structured error handler

</objective>
</feature>

No one writes perfect code. You’re most certainly familiar with those problems that prevent code from executing properly; they’re called bugs. Because you’re new to Visual C#, your code will probably contain a fair number of bugs. As you gain proficiency, the number of bugs in your code will decrease, but they will never disappear entirely. This book can’t teach you how to debug every possible build or runtime error you might encounter; ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required