# Types of Operators

Assignment Operator

An assignment operator is the operator used to assign a new value to a variable, property, event or indexer element in C# programming language. Assignment operators can also be used for logical operations such as bitwise logical operations or operations on integral operands and Boolean operands.

Bitwise Operators

Bitwise Operator Definition - A bitwise operator is an operator used to perform bitwise operations on bit patterns or binary numerals that involve the...

Logical Operators

Logical operators are typically used with Boolean (logical) values. When they are, they return a Boolean value. However, the && and || operators actually return the value of one of the specified operands, so if these operators are used with non-Boolean values, they may return a non-Boolean value.

Mathematical Operators

In mathematics, an operator is generally a mapping that acts on the elements of a space to produce other elements of the same space. The most common operators are linear maps, which act on vector spaces.

image: tes.com
Relational Operators

Operator chaining. In mathematics, it is common practice to chain relational operators, such as in 3 < x < y < 20 (meaning 3 < x and x < y and y < 20). The syntax is clear since these relational operators in mathematics are transitive.

Shift Operators

The bitwise shift operators are the right-shift operator (>>), which moves the bits of shift_expression to the right, and the left-shift operator (<<), which moves the bits of shift_expression to the left.