I'm often writing a c# code that goes like this:
void func(object myObject)
{
if (myObject == null)
{
throw new ArgumentNullException("myObject");
}
...
How do I write an auto-complete in Visual Studio 2012 for that type of code, so that I don't have to keep typing this all the time?