mercredi 30 décembre 2015

C# - basic if statement inquiry - can't find the answer

this has probably been answered but i don't know how to frame the question, therefore can't find a past answer.

so what i wanna do is something like this: (more variables for the same if check)

if ((aa && bb && cc) == 1)
    {
       win = 1;
    }

what's the correct syntax for this?

thanks a bunch

Aucun commentaire:

Enregistrer un commentaire