Right now the code below tests for a blank text box. If it is blank it returns the error stated below the if statement. That works fine, but I also want it to check for wh
if (string.IsNullOrEmpty((TextBox1.Text ?? string.Empty).Trim()))