LANGUAGE
return statement
Ends the invocation and supplies a compatible value.
Formal Syntax & Structure
csharp syntaxcsharp
return expression;Working Example
Example Snippetcsharp
return boxes * perBox;Ends the invocation and supplies a compatible value.
return expression;return boxes * perBox;