I can bet that you never heard about this operator on c# development but it's nice to know anyway:
operator =&
usually used in logical statement which is equivalent to
x&=y ------->
x& (y=x)
The left-shift operator (<<)
shifts its first operand left by the number of bits specified by its second operand (always int )
exemple : i << 1---------->0x2
Operator >>=
is equivalent to
x >>= y--------->
x = x >> y
Operator x /= y
is equivalent to
x /= y--------->
x = x / y
Aucun commentaire:
Enregistrer un commentaire