Operator | Precedence Level | Operation | Association Direction |
---|---|---|---|
![]() |
. (<arguments>) ++ -- |
member reference method call postfix dec/increment |
L to R |
++ -- + - ! |
prefix dec/increment unary plus/minus logical not |
R to L | |
new (<type>) |
object instantiation type casting |
||
* / % | mutiplicative | L to R | |
+ - + |
additive string concatenation |
L to R | |
< <= > >= | relational | L to R | |
== != | equality | L to R | |
&& | logical and | L to R | |
|| | logical or | L to R | |
? : | conditional | R to L | |
= += -= *= /= %= |
assignment and compound assignments |
R to L |