Sign In | Subscribe

Enter your Sign on user name and password.

Forgot password?
  • Follow us on:
Start learning today, and be successful in your academic & professional career. Start Today!
Loading video...
This is a quick preview of the lesson. For full access, please Log In or Sign up.
For more information, please see full course syllabus of C#
  • Discussion

  • Study Guides

  • Table of Contents

Lecture Comments (1)

0 answers

Post by Joseph Mitchener on December 29, 2014

Cannot get the practice exercise to load into MSVisual Studio. After unzipping, I get the error message: No exports were found that match the constraint: contract name
Required Type Identity

Understanding Delegates

  • Delegates are used as pointers to methods that handle events
  • You can have multiple Delegates handle the same event. Delegates “daisy-chained” in this way do not pass the return values through the chain
  • You use AddressOf to tell the Delegate where to look for the method it needs
  • .Invoke is used to call the Delegate
  • When adding or removing a delegate from a delegate chain you use the standard + and - operators