I have beginner question, how to "reduce" multiple if statements
using whlie or foreach or any other means, i have like 10 if statements.
Example
Boolean bolres = true;
if (client_name == "") //testing for empty string
{
bolres = false; //if its empty set the bolres variable to false
}
if (clientlastname == "")
{
bolres = false;
}
if (clientage =="")
{
bolres = false;
}