Invocation expression ()
- Last UpdatedApr 24, 2024
- 1 minute read
Invocation expression, (),is used to call a method or adjust the order in which arithmetic, Boolean, or comparison operators are evaluated within an expression.
Example code
string text = "ciao";
int a= text.length();
Runtime::Environment.Print("hello");
int b = 13 / (5 / 2); //b=5
bool d = (2.4>3) || (5 > 4.3); //true