mercredi 25 mars 2015

the value of multiple booleans with "Not" operators


Vote count:

0




How to correctly interpret the following form in c#:



bool someOtherBool = false;
bool anotherBool = true;
bool yetAnotherBool = false;

bool someBool = !someOtherBool && !anotherBool !yetAnotherBool;


What will the right side produce, true or false, and why? How is this notation called? What if instead of && the || would be used?


Thank you



asked 25 secs ago







the value of multiple booleans with "Not" operators

Aucun commentaire:

Enregistrer un commentaire