Youtube Video: Difference between Throw and Throw Exception in C#
In this video, We are going to see the difference between Throw and Throw an exception in C#. In this video, I am also going to explain what are the best practices for using throw in C#.
Lots of people make these mistakes and aim of this video to clarify the confusion between Throw and Throw(ex).
Following is a video for the same.
Source Code for this video is available on - github.com/JalpeshVadgama/ThrowBestPractice
So as a best practice you should always use Throw instead of Throw(ex)
If you like this video and wanted to see a similar kind of video then, please subscribe to my youtube channel at - bit.ly/codewithjv.
Also, Do let me know what more content you wanted to see in C# and DotNet.