What are assignment operators in C#?
Answers
Assignment operator are used for assigning the value to the operands .Following are the assignment operator in C# that is given below.
Explanation
= Operator: It assigning the values from the right side variable to the left side variable.
+= operator: it firstly adding the value of the variable to the left side variable to the right side variable then assigning the values to the left side variable.
- = Operator: it firstly subtract the value of the variable to the left side variable to the right side variable then assigning the values to the left side variable.
* = Operator:: it firstly multiplies the value of the variable to the left side variable to the right side variable then assigning the values to the left side variable.
/= Operator: it firstly divided the value of the variable to left side variable to right side variable then assigning the values to left side variable
Learn More :
- brainly.in/question/6943654