Skip to content

Latest commit

 

History

History
35 lines (22 loc) · 2.14 KB

File metadata and controls

35 lines (22 loc) · 2.14 KB

C# Exception and Error Handling

This is the repository for the LinkedIn Learning course C# Exception and Error Handling. The full course is available from LinkedIn Learning.

lil-thumbnail-url

It’s just a fact that, despite all efforts to write the cleanest and most error-free programs, at some point you’re going to run into problems. Knowing how to properly handle error conditions and exceptions within your C# programs—before they affect user experience—is an absolute must. In this course, Joe Marini shows you how to work with C# exceptions and implement best-practice error handling protocols to make your applications resilient in the face of an unpredictable world.

Instructions

You can download the source code for the course and work locally on your computer, or you can work online in the browser using a Codespace.

Installing

  1. To use these exercise files locally on your computer, you must have the following installed:
    • .NET SDK (not just the .NET runtime)
    • A code editor such as Visual Studio Code
  2. Clone this repository into your local machine using the terminal (Mac), CMD (Windows), or a GUI tool like SourceTree.
  3. The project files are set up for use with .NET SDK v6. If you have a later version of .NET installed, you can edit each project file to work with that version.
    • Open the .csproj file for the particular example
    • Edit the XML tag named <TargetFramework> and change it to your version of .NET
    • Example: Change <TargetFramework>net6.0</TargetFramework> to read <TargetFramework>net8.0</TargetFramework> to work with .NET 8

Instructor

Joe Marini

Technology Industry Veteran

Check out my other courses on LinkedIn Learning.