| SNO | Operator Names | Operators List |
| 1 | Primary | x.y, f(x), a[x], x++, x--, new, typeof, checked, unchecked |
| 2 | Unary | +, -, !, ~, ++x, --x, (T)x |
| 3 | Arithmetic — Multiplicative | *, /, % |
| 4 | Arithmetic — Additive | +, - |
| 5 | Shift | <<, >> |
| 6 | Relational and type testing | <, >, <=, >=, is, as |
| 7 | Equality | ==, != |
| 8 | Logical, in order of precedence | &, ^, | |
| 9 | Conditional, in order of precedence | &&, ||, ?: |
| 10 | Assignment | =, +=, -=, *=, /=, %=, &=, |=, ^=, <<=, >>= |
Thursday, 31 July 2014
Operators in C#.Net
Subscribe to:
Post Comments
(
Atom
)
No comments :
Post a Comment