Don't throw exceptions in C#. Do this instead
Nick Chapsas Nick Chapsas
280K subscribers
244,723 views
0

 Published On Jun 2, 2022

Check out my new "Integration testing in ASP .NET Core" course and use code INTESTING1 for 20% off (first 300): https://dometrain.com/course/from-zer...
Become a Patreon and get source code access:   / nickchapsas  

Hello everybody I'm Nick and in this video I will show you how you can potentially replace some of your exception throwing in your C# application with a differnent way of handling bad state. It is a concept that is native in other languages like Rust and F#, and it will eventually make its way into C# too but for now, here is the workaround.

Give Language Extensions a star on GitHub: https://github.com/louthy/language-ext

Don't forget to comment, like and subscribe :)

Social Media:
Follow me on GitHub: http://bit.ly/ChapsasGitHub
Follow me on Twitter: http://bit.ly/ChapsasTwitter
Connect on LinkedIn: http://bit.ly/ChapsasLinkedIn

Keep coding merch: https://keepcoding.shop

#csharp #dotnet

show more

Share/Embed