I have a string property that has a maximum length requirement because the data is linked to a database. What exception should I throw if the caller tries to set a string ex
public IPAddress Address { get { return address; } set { if(value == null) { throw new ArgumentNullException("value"); } address = value; } }
via MSDN