LANGUAGE
Compound assignment
Updates a variable using an operator and assignment. The left operand is evaluated only once; type conversion rules apply.
Formal Syntax & Structure
csharp syntaxcsharp
x += y;Working Example
Example Snippetcsharp
int count = 4; count += 3;