Skip to content

Visual Studio ArgumentNullException Code Snippet

I assume that the ArgumentNullException is one of the exceptions that is implemented the most times in any code project.

So to save time I created a little code snippet for Visual Studio that dynamically inserts the typically ArgumentNullException implementation for any parameter. You just type the parameter name by using IntelliSense and the rest is magic 😉

Download it here.

Go to your Documents, choose the Visual Studio folder, Code Snippets, Visual C#, My Code snippets and extract the archive.

Leave a Reply

Your email address will not be published. Required fields are marked *

By transmitting your comment you agree to our mentioned privacy policy content.

eighteen − 4 =