C# Tutorial For Beginners: Operators
Updated: Jan 18, 2022
Operators are used to performing different operations on variables, values, and objects. There are four main categories of operators:
As the name suggests, arithmetic operators are used to perform mathematical operations.
Assignment operators are used to assigning values to variables.
As the name suggests, these operators are used to compare values.
Logical operators are used to validate the logic between variables/values: