There are situations when we have a values in a variable say X is that variable and we want to have a if condition and compare if the values is more then 0 then which method will be optimized one.
X>0 or X!=0
Can someone specify with the logic. We can take example in C#.
Aucun commentaire:
Enregistrer un commentaire