Method Calls

Method calls are used to invoke methods on objects. You can pass arguments to the method and receive a return value.

Usage

var myObject = new MyClass();
var result = myObject.MyMethod(42, "Hitchhiker's Guide");
result;