- Using the
()operator (parentheses) - Using the
:operator (colon)
, (comma).
If the list of arguments of a function or method is empty, you can omit the () operator. The : operator is not used in this case. For example, DontFind(); can be written as DontFind;.
The following examples show each operator in use.
