11,582 questions
For example, in case of strings, you can use Any:
string[] parameters = new string[5];
// . . .
if( parameters.Any(string.IsNullOrWhiteSpace))
{
// ERROR; some values are not provided
. . . .
}
Show details if your parameters are different.