C# Tutorial For Beginners: Operators

Updated: Jan 18

Operators are used to performing different operations on variables, values, and objects. There are four main categories of operators:


Arithmetic operators

As the name suggests, arithmetic operators are used to perform mathematical operations.

Assignment Operators

Assignment operators are used to assigning values to variables.


Comparison Operators

As the name suggests, these operators are used to compare values.

Logical Operators

Logical operators are used to validate the logic between variables/values:




15 views0 comments