Concept of Events
Publisher and Subscriber
In the last chapter, we learned about delegates, which when created allow us to pass a method as a parameter to other methods. A delegate is really a class that encapsulates a method signature. We saw how to create a delegate, reference it to a method, and then invoke the delegate, which therefore calls the method. We saw that we could chain delegates so we could call multiple methods and this has the name multicast delegates. In this chapter we will look at events, and delegates are intrinsically linked ...