Skip to content

Glossary: C# Basics

Compound assignment (+=, -=, ++, --)

Also written: +=, -=, ++, --, increment

Short forms that change a variable based on its own value: `stamps += 2` means `stamps = stamps + 2`, and `stamps++` adds 1.

Where the book teaches it

Related terms

AssigningVariable