Lesson #4 - C# Operators

Updated: Dec 13, 2020

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


Arithmetic operators

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

Assignment Operators

Assignment operators are simply used to assign values to variables.


Comparison Operators

As the name suggests, these type of operators is used to compare values.

Logical Operators

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




11 views0 comments