Beginner's Guide to Exception Handling in C#

  Рет қаралды 4,331

Nick Proud

Nick Proud

Күн бұрын

#dotnet #csharp #code #softwaredevelopment
Exception handling is a core skill for any developer, but in .NET there are several best practices to ensure that your C# code runs as intended, handling unexpected behaviours.
In this video:
We define what an exception is and how they are structured in .NET
I show you examples of how to catch exceptions
We explore the different types of exceptions
I show you how to create your own custom exceptions

Пікірлер: 10
@roskis6493
@roskis6493 Жыл бұрын
You're a great tutor, Nick. You have a calm and organized way of teaching. Thank you for the explanation.
@nickproudprogrammer
@nickproudprogrammer Жыл бұрын
You're very welcome!
@38clonewars
@38clonewars Жыл бұрын
First video of yours that I have watched, and I already LOVE IT and subbed!!! Your explanations are so clear. Thanks, man! Definitely checking your other tutorials soon
@gurdeepgss
@gurdeepgss Жыл бұрын
Waiting for future episodes
@CodingMindsMadrid
@CodingMindsMadrid 4 ай бұрын
youre the best nick! im waiting for new episodes!! keep going youre great!
@nickproudprogrammer
@nickproudprogrammer 4 ай бұрын
Glad you like them!
@GBPhilip
@GBPhilip Жыл бұрын
When creating a custom exception you said it was best practice to create the three constructors. Why is it best practice?
@nickproudprogrammer
@nickproudprogrammer Жыл бұрын
Explained here: www.csharptutorial.net/csharp-tutorial/csharp-custom-exceptions/
@flyingthundergod3999
@flyingthundergod3999 5 ай бұрын
Do you know the difference between user thrown vs run time thrown exception by any chance
@evanvargas
@evanvargas 16 күн бұрын
Is Quick Watch downloadable?
Stop Using FirstOrDefault in .NET! | Code Cop #021
12:54
Nick Chapsas
Рет қаралды 81 М.
Synyptas 4 | Жігіттер сынып қалды| 3 Bolim
19:27
Brutally honest advice for new .NET Web Developers
7:19
Ed Andersen
Рет қаралды 210 М.
Exception Handling | C# | Tutorial 24
11:01
Giraffe Academy
Рет қаралды 88 М.
Don't throw exceptions in C#. Do this instead
18:13
Nick Chapsas
Рет қаралды 259 М.
Dependency Injection, The Best Pattern
13:16
CodeAesthetic
Рет қаралды 841 М.
Being Competent With Coding Is More Fun
11:13
TheVimeagen
Рет қаралды 92 М.
How to INCREASE C# Performance using SPAN
10:32
Nick Proud
Рет қаралды 9 М.
Compilers, How They Work, And Writing Them From Scratch
23:53
Adam McDaniel (kiwi)
Рет қаралды 193 М.