Statements
Statements are language constructs that are used in iterative code. They never produce any value, only modify existing values or variables. Thus, a statement always has an implicit type
void
and cannot be used in contexts where expressions are expected, e.g. as method arguments.Last modified 4yr ago