C# language feature:
applies to
- delegates, function declarations
benefit
- Allows defining delegates without boilerplate naming code.
how to use
- 1) Define delegate.
- 2) Declare delegate variable and assign to a
delegate
function with matching signature of defined delegate followed by with function/delegate body.
see also
- Delegate inference, Method group conversions
example: