created on 30 Jun 2008, by Syndication, read more…
Yesterday I described the Observer Pattern and mentioned that the .NET CLR provides this functionality through events and delegates.
Let’s have a look on how to implement this right now. We’re using delegates with generics, the += operator and throwing and handling events.