vendredi 26 août 2016

What is the difference between this two condition?

What is the difference between this two conditions?. I tried to use both conditions but different output.

if(!(data1 == true || data2 == true))
{
   // do something
}

And

if(data1 != true || data2 != true)
 {
   // do something
 }

Aucun commentaire:

Enregistrer un commentaire