Well that's not true. Anywhere you can write an if statement, you can also do:Quote:
It's not a matter of true or false, there is no testing involved in the assignment.
What he really needs to do is write some loops. The simplest tasks can be surprisingly complex and would force him to use what he is trying to learn.Code:
string var = "iEatBananas";
bool flag = var == "iEatBananas";
if (flag) ...