NullReferenceException or ArgumentNullException
NullReferenceException or ArgumentNullException [http://weblogs.asp.net/brada/archive/2004/07/11/180315.aspx] – “The API Design Guidelines encourage developers to check all their arguments and thereby avoid throwing a NullReferenceException. If an argument is null and the contract of the method forbids null arguments an ArgumentNullException should be thrown.…