private void DoProcess(string value) { if (string.IsNullOrEmpty(value)) { throw new ArgumentNullException("value","parameter value cannot be null"); } }