Featured resource
2026 Tech Forecast
2026 Tech Forecast

Stay ahead of what’s next in tech with predictions from 1,500+ business leaders, insiders, and Pluralsight Authors.

Get these insights
  • Course

Error Handling in C#

Understanding and making use of exceptions is crucial to creating readable and understandable code that responds correctly to runtime errors. This course will teach you how to handle errors in your C# code in a type-safe, readable, and structured way.

Intermediate
1h 42m
(87)

Created by Jason Roberts

Last Updated May 16, 2024

Course Thumbnail
  • Course

Error Handling in C#

Understanding and making use of exceptions is crucial to creating readable and understandable code that responds correctly to runtime errors. This course will teach you how to handle errors in your C# code in a type-safe, readable, and structured way.

Intermediate
1h 42m
(87)

Created by Jason Roberts

Last Updated May 16, 2024

Get started today

Access this course and other top-rated tech content with one of our business plans.

Try this course for free

Access this course and other top-rated tech content with one of our individual plans.

This course is included in the libraries shown below:

  • Core Tech
What you'll learn

Missing or incorrectly implemented error handling code can lead to data corruption, unnecessary crashes, annoyed end-users, out-of-hours support calls, and hard to maintain code. In this course, Error Handling in C#, you’ll learn to correctly handle runtime errors in your C# applications. First, you’ll explore what exceptions are and why we use them. Next, you’ll discover how to respond to errors that occur in your applications at runtime. Finally, you’ll learn how to throw exceptions in your own code and even how to define your own custom exception classes. When you’re finished with this course, you’ll have the skills and knowledge of C# exception handling needed to handle runtime errors in your C# applications.

Error Handling in C#
Intermediate
1h 42m
(87)
Table of contents

About the author
Jason Roberts - Pluralsight course - Error Handling in C#
Jason Roberts
71 courses 4.4 author rating 10721 ratings

With over 15 years experience, Jason Roberts is a Microsoft .NET MVP, freelance developer, and author.

Get started with Pluralsight