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 ...

Get Microsoft Visual C# Step by Step, 8th Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.