Events and Delegates

Events and delegates may seem like complex programming topics, but actually, they are not. In this chapter, we will first learn about these concepts by analyzing the meaning of their respective names. Then we will relate the general meaning of these words to programming. We will look at a lot of example code in this chapter, which will help us understand the concepts with ease. Before we dive into this, let's look at the topics that we are going to cover in this chapter:

  • How to create and use delegates
  • Method group conversion
  • Multicasting
  • Covariance and Contravariance
  • Events and multicast events
  • .NET event guidelines
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.145.69.53