A return
statement returns control to the caller of the member in which the return
statement appears. A return
statement with no expression can be used only in a member that does not return a value (e.g., a method that returns void
). A return
statement with an expression can only be used only in a function member that returns an expression.