Operator in C#
Arithmetic Operators | |
---|---|
+ | Addition |
- | Subtraction |
* | Multiplication |
/ | Divided |
% | Modulus |
++ | Increment Operator |
-- | Decrement Operator |
Relational Operators | |
== | Equal To |
!= | Not Equal |
< | Less Than |
> | Greater Than |
>= | Greater Than or Equal |
<= | Less Than or Equal to |
Logical Operators | |
&& | Logical AND operator |
|| | Logical OR Operator |
! | Logical NOT Operator |
Bitwise Operators | |
& | AND Operator |
| | OR Operator |
^ | XOR Operator |
~ | Ones Complement Operator |
<< | Left Shift Operator |
>> | Right Shift Operator |
Assignment Operators | |
= | Assignment Operator |
+= | Add assignment Operator |
-= | Sub assignment Operator |
*= | Multiply assignment Operator |
/= | Divide assignment Operator |
%= | Modulus assignment Operator |
<<= | Left shift assignment Operator |
>>= | Right shift assignment Operator |
&= | Bitwise assignment Operator |
^= | bitwise exclusive OR assignment Operator |
|= | bitwise inclusive OR assignment Operator |
0 comments:
Post a Comment
Do not enter spam link