Never catch and re-throw the same exception in C#. Once caught, you can either handle the exception, throw a new exception, or throw to continue the previously caught exception.
Timestamps:
0:00 - Intro
0:29 - Never Re-Throw Exceptions in C#
3:15 - Outro
Sample Code Used in the Video: https://github.com/DevChatter/YouTube...
#programming #tips #csharp #coding #dotnet #softwareengineer #C#
Watch our live stream at / devchatter
Chat with us on Discord - / discord
Contribute on GitHub - https://github.com/DevChatter/
Support DevChatter through Patreon - / devchatter
Follow Brendan on Twitter - / brendoneus
Brendan's Pluralsight Courses - https://www.pluralsight.com/authors/b...