Reputation: 18465
I would like to understand. In C# could we say that each class that define an event is a subject of an (hypothetical) observer pattern?
Upvotes: 0
Views: 67
Reputation: 1717
Yes, you can. Though there is also an IObserver Interface in the .NET Framework, events are the best way to do it. You can read Microsoft's desctiption on the matter.
Upvotes: 1