So i'm wondering if order optimiziation included in if-else. For example there are 3 boolen x,y,z for example a code that in c# if(X&y&z){} if x is false then does if statement return immediately or execute all comprasion? if it does, which order it follows? left to right or right to left? if it doesn't should i use them in if branch.
Aucun commentaire:
Enregistrer un commentaire