Alex Rivera | Logout

In C#, isn't the observer pattern already implemented using Events?

Asked 2008-08-28T11:36:52.297
33

After reading the Head First Design Patterns book and using a number of other design patterns, I'm trying to understand the Observer pattern. Isn't this already implemented using Events in the .NET Framework?

Edit
Report

1 Answer

22

I would say yes, it was Anders Heljsberg's intent to make the observer pattern a first-class language feature with events in C#, based on his experience with Delphi. Anders makes this and other design intentions clear in an excellent interview on Software Engineering Radio.

answered 2008-08-28T12:37:19.877

Your Answer