Refresher/csharp/Delegates How and When

Presentation

 
Accessibility Modifiers
 
Delegates How and When
 
List of Topics
   
 
This presentation was made possible by Wikiversal/WikiverSuite, which is made possible by your donation. Thank you for your support.
 
List of Topics
 
 Delegate: a class -- usable if declared and instantiated
 
 
 Delegate use: passed around as a parameter, and invoked by the receiving object
 
 
 Delegate example 1: success = MyAddressProvider.HandleCampaign(WhatToDoWithAddresses)
 
 
 Delegate example 2: MyMenuItem.Click += new System.Windows.RoutedEventHandlerMyMenuItem_Click)