c# delegates & events

&
creating a windows form in a console program
A delegate is a REFERENCE to a method.

By making a delegate refer to a different method, we change behavior without changing
the "call" to the delegate. This is often a response to an event or a condition - at RUNTIME.

Simple Delegate Demo


.. declaring a delegate



.. event model



.. lambda expressions "=>"



.. event delegate demo