Roland Weigelt - Code Snippet for Throwing an ArgumentNullException
This is the archived version of Roland Weigelt's weblog that ran from 2003 to 2023 at weblogs.asp.net
Code Snippet for Throwing an ArgumentNullException
Name: | ArgumentNullException |
Description: | Inserts code for throwing an ArgumentNullException. |
Shortcut: | ane |
Result: | if (parameter == null) throw new ArgumentNullException( "parameter" );
|
Download: | ArgumentNullException.snippet |