# Exceptions in C#

Exceptions in C#: Exceptions in C#, Following an Exception: Stack Traces and Catching Higher Up.

Updated: November 18, 2026

1. [Exceptions in C#](https://www.ask-codey.com/lessons/exceptions-in-csharp) (Apprentice): When something goes wrong at run time, C# throws an exception, and the program crashes unless code catches it. Prevent what you can check for; catch what you can't, most specific type first; and throw your own when a method can't do what it's asked.
2. [Following an Exception: Stack Traces and Catching Higher Up](https://www.ask-codey.com/lessons/exceptions-in-csharp-stack-traces-and-catching-higher-up) (Apprentice): Read a stack trace to find the line where an exception started and the calls that led there, catch it in the method that knows what to do, and wrap it with a clearer message and the facts the catcher needs.

Source: https://www.ask-codey.com/courses/csharp-full-stack-bootcamp/topics/exceptions-in-csharp
