900 XP
Create and throw exceptions in C# console applications
Learn how to create exception objects, how to customize the properties of an exception object, and the process for creating, throwing, and catching custom exception objects in a C# application.
Learning objectives
- Learn how exception objects are created and how to customize their property settings.
- Develop C# console applications that create and throw customized exception objects.
- Develop C# console applications that catch custom exception objects and manage exception property information.
Start
Add
Prerequisites
- An installation of Visual Studio Code that's configured for C# application development.
- Experience developing C# console applications that implement business logic.
- Experience developing C# console applications that implement custom methods.
- Experience debugging C# console application and implementing
try-catch
exception handing.
This module is part of these learning paths
Module assessment
Assess your understanding of this module. Sign in and answer all questions correctly to earn a pass designation on your profile.
Take the module assessment