What means |= in c#?
Example:
int a= 0;
int b = a |= 5;
I can't find any hints for this.
the OR assignment operator.
full explanation is here. http://msdn.microsoft.com/en-us/library/h5f1zzaw(v=vs.71).aspx
|= is the OR assignment operator.
http://msdn.microsoft.com/en-us/library/h5f1zzaw.aspx
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With