Operator category | Operators |
---|---|
Arithmetic | +, -, *, /, % |
Logical (boolean and bitwise) | &, |, ^, !, ~, &&, ||, true, false |
String concatenation | + |
Increment, decrement | ++, -- |
Shift | <<, >> |
Relational | ==, !=, <, >, <=, >= |
Assignment | =, +=, -=, *=, /=, %=, &=, |=, ^=, <<=, >>= |
Member access | . |
Indexing | |
Cast | (, ) |
Conditional | ?, : |
Delegate concatenation and removal | +, - |
Object creation | new |
Type information | as is sizeof typeof |
Overflow exception control | checked unchecked |
Indirection and Address | *, ->, & |
Coalesce | ?? |
Read more about this topic: C Sharp Syntax