How to dispatch events in C#

There is a pattern that is used in all library classes. It is recommended for your own classes too, especially for framework/library code. But nobody will stop you when you deviate or skip a few steps. Here is a schematic based on the simplest event-delegate, System.Eventhandler. // The delegate type. This one is already defined … Read more