Arithmetic operator includes
+, * , / , % , + , –
Shift operators
<<,>>
Relational / Type testing operators
< , > , <= , >= , is , as
Logical operators
& , ^ , |
Conditional logical operators
&& , ||
Assignment Operators
= ,+= ,-= ,*= ,/= ,%= ,&= ,|= ,^= ,<<= ,>>= ,??
These are commonly used operators in C#.net.
Here we have to note that for Relational / Type testing operators, Logical operators, Conditional logical operators while it is under execution, the out put of the particular line will be Boolean i.e. either 0 or 1 i.e. either true or false.
This is used in checking a condition whether it is true or false.
No comments:
Post a Comment