________________________________________
Introduction to Operators in C#:-
Operators are used for Computation......
There are following types of operators
Arithmetic Operator:-
This operator are the symbols that are used to perform arithmetic operation.
________________________________________________________________________________
+ , -, *, /, %,
________________________________________________________________________________
Arithmetic Assignment Operator:-
This operator are used to perform arithmetic operation to assign a value to an operand.
________________________________________________________________________________
= ,+= ,-= ,*= ,/= ,%=
________________________________________________________________________________
Unary Operator:-
This operator are used to increment or decrement the value of an oprand by 1.
________________________________________________________________________________
++ ,--
________________________________________________________________________________
Comparison Operator:-
This operator are used to compare two values.
________________________________________________________________________________
< ,> ,<= ,>= ,== ,!=
________________________________________________________________________________
Logical Operator:-
This operator are used to evaluate expression and return a Boolean value.
________________________________________________________________________________
&& ,! ,|| ,^
________________________________________________________________________________
No comments:
Post a Comment