I have the following extension method:
public static void ThrowIfArgumentIsNull(this T value, string argument) where T : class { if (value
I find it easiest to do this using a code snippet.
In your example, I can type tnaqwerty.
tnaqwerty
Here is the snippet:
Check for null arguments tna Code snippet for throw new ArgumentNullException SLaks Expansion SurroundsWith Parameter Paremeter to check for null value