Error Handling in C# 10
Offered By: Pluralsight
Course Description
Overview
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.
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.
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.
Syllabus
- Course Overview 1min
- Understanding the Importance of Error Handling 10mins
- Getting Started with Exceptions 20mins
- Understanding the Exception Class Hierarchy 13mins
- Catching, Throwing, and Rethrowing Exceptions 22mins
- Creating and Using Custom Exceptions 19mins
- Writing Automated Tests for Exception Throwing Code 15mins
Taught by
Jason Roberts
Related Courses
Beginning Game Programming with C#University of Colorado System via Coursera Programming with C#
Microsoft via edX DEV206.1x: Introduction to XAML and Application Development
Microsoft via edX Introduction to Game Development
Michigan State University via Coursera Designing Advanced Applications using XAML
Microsoft via edX