O'Reilly logo

Microsoft Visual C# Step by Step, 8th Edition by John Sharp

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 6. Managing errors and exceptions

After completing this chapter, you will be able to:

Image Handle exceptions by using the try, catch, and finally statements.

Image Control integer overflow by using the checked and unchecked keywords.

Image Raise exceptions from your own methods by using the throw keyword.

Image Ensure that code always runs, even after an exception ...

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