Friday April 29th

Thursday April 28th

Wednesday April 27th

Observer Pattern in C# = Events & delegates

One of the most interesting patterns in Design Patterns is the Observer pattern which is listed under Behavioral Patterns, it is really important how to make other classes which are interested in the state of another object get notified when the state changed.


Article isn't very interesting; its just a very short primer on events and event handlers.

It may not be interesting to you, but for some people out there that struggle to understand events and delegates, I can see this being very helpful. I struggled with this concept for a long time and couldn't find any concise demonstrations to help me out. This article would have been very helpful.

When I wrote the article I was trying to make it easy for the people coming from the Java background why the Events & Delegate concept is more suitable than the observer model.

Commenting on Stories is limited for now and will open up to those recommended by the community. Learn how
Loading DotNetKicks...
brought to you by the Kicks Network