In c#, **Operator** is a programming element that specifies what kind of an operation need to perform on operands or variables. For example, an addition (+) operator in c# is used to perform the sum operation on operands.

In c#, we have a different type of operators available, those are

These operators are categorized as a different groups such as **Binary Operators**, **Unary Operators** and **Ternary Operators** based on taking the number operands to perform the operations.

Suppose, if operator that takes a one operand to perform the operation such as precedence operator (++), then those will call as a **Unary Operators**. In case, if operator that takes a two operands to perform the operation such as arithmetic operator (-, +, *, /), then those will call as a **Binary Operators** and we have a Ternary Operator that takes three operands to perform the operation, such as conditional operator (**?:**).

Now we will learn each operator in detailed manner with examples in c# programming language.

In c#, **Arithmetic Operators** are used to perform basic arithmetic calculations like addition, subtraction, division, etc. based on our requirements.

To know more about Arithmetic Operators, check this C# Arithmetic Operators with Examples.

In c#, **Relational Operators** are used to check the relation between two operands like we can determine whether two operand values equal or not, etc. based on our requirements.

To know more about Relational Operators, check this C# Relational Operators with Examples.

In c#, **Logical Operators** are used to perform the logical operation between two operands like AND, OR and NOT based on our requirements and the operands must contain only Boolean values otherwise Logical Operators will throw error.

To know more about Logical Operators, check this C# Logical Operators with Examples.

In c#, **Bitwise Operators** will work on bits and these are useful to perform the bit by bit operations such as Bitwise AND (&), Bitwise OR (|), Bitwise Exclusive OR (^), etc. on operands and we can perform bit level operations on Boolean and integer data.

To know more about Bitwise Operators, check this C# Bitwise Operators with Examples.

In c#, **Assignment Operators** are used to assign a new value to the operand and these operators will work with only one operand.

To know more about Assignment Operators, check this C# Assignment Operators with Examples.

In c#, **Operators Precedence** is used to define a multiple operators in single expression and the evaluation of expression can be happened based on the priority of operators.

To know more about Precedence of Operators, check this C# Operators Precedence with Examples.