vendredi 2 septembre 2016

C# if statement or but not both

So say I have some code in C# and I want to check if one of the two booleans are true. I would also have another case in which it will check if both are true I basically want to say var1 or var2 but not both of them.

Aucun commentaire:

Enregistrer un commentaire