We may earn an affiliate commission when you visit our partners.
Pluralsight logo

Exception Handling in C# 9

Jason Roberts

Understanding and using exceptions is vital if you want to create maintainable code that responds correctly to runtime errors. This course will teach you how to handle errors in C# applications by throwing, catching, and customizing exceptions.

Read more

Understanding and using exceptions is vital if you want to create maintainable code that responds correctly to runtime errors. This course will teach you how to handle errors in C# applications by throwing, catching, and customizing exceptions.

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, Exception Handling in C# 9, you’ll gain the ability 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.

Enroll now

What's inside

Syllabus

Course Overview
Understanding the Importance of Error Handling
Understanding the Exception Class Hierarchy
Getting Started with Exceptions
Read more
Catching, Throwing, and Rethrowing Exceptions
Creating and Using Custom Exceptions
Writing Automated Tests for Exception Throwing Code

Good to know

Know what's good
, what to watch for
, and possible dealbreakers
Further strengthens foundational understanding of exceptions and error handling in C# for intermediate learners
Develops essential skills for building C# applications that respond appropriately to runtime errors
Provides guidance for defining custom exception classes, which can improve the maintainability and readability of code
Teaches automated testing techniques for exception throwing code, which can increase the reliability and robustness of applications
Includes a mix of video lectures, readings, and hands-on labs, providing a varied and engaging learning experience
Taught by Jason Roberts, an experienced instructor recognized for his expertise in C# and error handling

Save this course

Save Exception Handling in C# 9 to your list so you can find it easily later:
Save

Activities

Coming soon We're preparing activities for Exception Handling in C# 9. These are activities you can do either before, during, or after a course.

Career center

Learners who complete Exception Handling in C# 9 will develop knowledge and skills that may be useful to these careers:
Software Engineer
Software Engineers design, develop, test, and maintain software systems. They may also work on software architecture and design. This course can help you gain the skills and knowledge needed to handle runtime errors in your C# applications. This is an important skill for any Software Engineer to have, as it can help you write more reliable and robust software systems.
Software Developer
As a Software Developer, you will design, develop, test, deploy, maintain, and troubleshoot software applications. You may also analyze user needs and help design software solutions. This course can help you learn the fundamentals of exception handling in C#, a valuable skill for any Software Developer to have. By understanding how to handle exceptions, you can write more robust and reliable software applications.
Computer Programmer
Computer Programmers write, modify, and maintain computer programs. They may also analyze user needs and design software solutions. This course can help you develop the skills and knowledge needed to handle runtime errors in your C# applications. This is an important skill for any Computer Programmer to have, as it can help you write more robust and reliable software applications.
Web Developer
Web Developers design, develop, and maintain websites. They may also work on website architecture and design. This course can help you learn the fundamentals of exception handling in C#, a valuable skill for any Web Developer to have. By understanding how to handle exceptions, you can write more robust and reliable websites.
Systems Analyst
Systems Analysts design, develop, and implement computer systems. They may also work on systems analysis and design. This course can help you gain the skills and knowledge needed to handle runtime errors in your C# applications. This is an important skill for any Systems Analyst to have, as it can help you design and develop more robust and reliable computer systems.
Software Architect
Software Architects design and develop software architectures. They may also work on software development and design. This course can help you gain the skills and knowledge needed to handle runtime errors in your C# applications. This is an important skill for any Software Architect to have, as it can help you design and develop more robust and reliable software architectures.
Mobile Developer
Mobile Developers design, develop, and maintain mobile applications. They may also work on mobile application architecture and design. This course can help you learn the fundamentals of exception handling in C#, a valuable skill for any Mobile Developer to have. By understanding how to handle exceptions, you can write more robust and reliable mobile applications.
Technical Support Specialist
Technical Support Specialists provide technical support to computer users. They may also work on software installation and maintenance. This course can help you gain the skills and knowledge needed to handle runtime errors in your C# applications. This is an important skill for any Technical Support Specialist to have, as it can help you provide better support to computer users.
IT Specialist
IT Specialists provide technical support to computer users. They may also work on software installation and maintenance. This course can help you gain the skills and knowledge needed to handle runtime errors in your C# applications. This is an important skill for any IT Specialist to have, as it can help you provide better support to computer users.
Quality Assurance Tester
Quality Assurance Testers test software applications to find and fix bugs. They may also work on software development and testing. This course can help you learn the fundamentals of exception handling in C#, a valuable skill for any Quality Assurance Tester to have. By understanding how to handle exceptions, you can write more robust and reliable software applications.
Data Scientist
Data Scientists collect, analyze, and interpret data to help businesses make better decisions. They may also develop and implement data-driven solutions. This course can help you understand the fundamentals of exception handling in C#, a valuable skill for any Data Scientist to have. By understanding how to handle exceptions, you can write more robust and reliable data-driven solutions.
Web Administrator
Web Administrators maintain websites and web servers. They may also work on website design and development. This course can help you learn the fundamentals of exception handling in C#, a valuable skill for any Web Administrator to have. By understanding how to handle exceptions, you can write more robust and reliable websites.
Network Administrator
Network Administrators maintain computer networks. They may also work on network design and implementation. This course can help you gain the skills and knowledge needed to handle runtime errors in your C# applications. This is an important skill for any Network Administrator to have, as it can help you design and implement more robust and reliable computer networks.
Game Developer
Game Developers design, develop, and maintain video games. They may also work on game design and development. This course can help you learn the fundamentals of exception handling in C#, a valuable skill for any Game Developer to have. By understanding how to handle exceptions, you can write more robust and reliable video games.
DevOps Engineer
DevOps Engineers work to bridge the gap between development and operations teams. They may also work on software development, IT operations, and quality assurance. This course can help you gain the skills and knowledge needed to handle runtime errors in your C# applications. This is an important skill for any DevOps Engineer to have, as it can help you write more robust and reliable software systems.

Reading list

We've selected 19 books that we think will supplement your learning. Use these to develop background knowledge, enrich your coursework, and gain a deeper understanding of the topics covered in Exception Handling in C# 9.
Provides a deep dive into C#, and it covers exception handling in detail. It valuable resource for anyone who wants to learn more about C# and exception handling.
Provides a comprehensive overview of exception handling in C#, and it valuable resource for anyone who wants to learn more about this topic. It covers the basics of exception handling, as well as more advanced topics such as custom exceptions and exception filters.
Written by a prominent C# expert, "Exceptional C#" digs deep into the topic of exception handling. It offers insights and recommendations beyond the basics covered in this course.
"Exception Handling in C#" concisely explains what exceptions are and ways to use them appropriately in different situations. It good supplement to this course.
An excellent reference for C# language in general, the 6th edition of "C# 9.0 in a Nutshell" includes several chapters that cover exception handling and error management.
Provides a comprehensive overview of C#, and it covers exception handling in detail. It great resource for anyone who wants to learn more about C# and exception handling.
Comprehensive guide to C#, and it covers exception handling in detail. It great resource for anyone who wants to learn more about C# and exception handling.
Provides a comprehensive overview of C# 6 and .NET Core 2.0, and it includes a chapter on exception handling. It great resource for anyone who wants to learn more about C# and exception handling in .NET Core.
Provides an in-depth exploration of exception handling in Java, which is closely related to C#. It offers practical techniques and guidance for writing robust and maintainable code.
A comprehensive guide to software development, "Code Complete" includes a chapter on exception handling. It provides practical advice on designing, implementing, and testing exception handling mechanisms.
"C# Cookbook" contains numerous recipes for solving common programming problems, including those related to exception handling. It's a valuable resource for practical examples and solutions.
Provides a comprehensive overview of C#, and it includes a chapter on exception handling. It great resource for anyone who wants to learn more about C# and exception handling.
"Effective Java", though written for Java programmers, has a dedicated chapter on exceptions. It provides practical advice and best practices that are applicable to C# developers as well.
Provides a comprehensive overview of software development, and it includes a chapter on exception handling. It great resource for anyone who wants to learn more about software development and exception handling.
Provides a deep dive into the Common Language Runtime (CLR), which is the foundation of .NET. It valuable resource for anyone who wants to learn more about how exceptions are handled in .NET.
While not a book dedicated to exception handling, "Writing High-Quality Code" emphasizes the importance of error handling and provides general principles that can be applied to exception handling practices.
While "Head First Java" is not a C# book, it presents exception handling concepts with clear and concise explanations and many diagrams. It's particularly helpful for beginners in exception handling.
Provides a comprehensive overview of design patterns, and it includes a chapter on exception handling. It great resource for anyone who wants to learn more about design patterns and exception handling.
Domain-driven design software development approach that emphasizes modeling the domain of the problem being solved. "Domain-Driven Design" includes a discussion on exception handling in the context of domain-driven applications.

Share

Help others find this course page by sharing it with your friends and followers:

Similar courses

Here are nine courses similar to Exception Handling in C# 9.
Error Handling in C# 10
Most relevant
Error Handling in Kotlin
Most relevant
Debugging and Error Handling in Spring Framework 6
Most relevant
Debugging and Error Handling in Spring Framework 5
Most relevant
Exception Handling in Java SE
Most relevant
Handling Exceptions (Java SE 8 Programmer I Certification...
Most relevant
Exception Handling in Python
Most relevant
Debugging and Error Handling in ASP.NET Core Web API
Most relevant
Exception Handling in Java
Most relevant
Our mission

OpenCourser helps millions of learners each year. People visit us to learn workspace skills, ace their exams, and nurture their curiosity.

Our extensive catalog contains over 50,000 courses and twice as many books. Browse by search, by topic, or even by career interests. We'll match you to the right resources quickly.

Find this site helpful? Tell a friend about us.

Affiliate disclosure

We're supported by our community of learners. When you purchase or subscribe to courses and programs or purchase books, we may earn a commission from our partners.

Your purchases help us maintain our catalog and keep our servers humming without ads.

Thank you for supporting OpenCourser.

© 2016 - 2024 OpenCourser