The = assignment operator assigns the value on the right side of the operator to the variable on the left side.

C# also provides compound assignment operators that perform an operation and an assignment in one statement.

The Code:

New Project (62)

The Output of Your Program:

New Project (63)

 

Note

This assignment operation is can applies in multiplication, divide and modulus operators.

if_Audio_-_Video_-_Game_26_2298369 (1)     if_Audio_-_Video_-_Game_27_2298366 (1)

Leave a comment