Mega Code Archive
Search
.Net
ASP .Net
ASP .Net Tutorial
C#
C# Book
C# by API
C# Tutorial
VB.Net
VB.Net by API
VB.Net Tutorial
Visual C++ .Net
VisualBasic Script
Java
Java
Java Book
Java by API
Java Tutorial
Script
Flash ActionScript
Flex
JavaScript DHTML
JavaScript Reference
JavaScript Tutorial
Database
MSSQL
MSSQL Tutorial
MySQL
MySQL Tutorial
Oracle PLSQL
Oracle PLSQL Tutorial
PostgreSQL
Languages
Android
C
C Tutorial
C++
C++ Tutorial
Delphi
Perl
PHP
Python
Python Tutorial
Ruby
Silverlight
Office
MSOfficeExcel 2007 Tutorial
MSOfficePowerPoint 2007 Tutorial
MSOfficeWord 2007 Tutorial
Data
XML
XML Tutorial
C# Tutorial
Delegate 51 codes
Home
C# Tutorial
Delegate
1 A simple delegate example
2 A static method is used as an event handler
3 A very simple event demonstration
4 Add both static and non-static function to a delegate
5 Advanced Event
6 An anonymous method
7 An anonymous method that returns a value
8 An anonymous method that takes an argument
9 An event multicast demonstration
10 Anonymous delegate method
11 Anonymous delegate methods
12 Anonymous method delegate invocation
13 Anonymous Methods
14 Chained Delegate
15 Construct a delegate using method group conversion
16 Create a delegate by declaration
17 Create generic delegate from reflection
18 Creating a new event
19 Creating an event
20 Declare a delegate and assigns a reference to either the WriteLine method or the ShowWindowsMessage method to its delegate instan
21 Define a delegate with no return value and no parameters
22 Delegate
23 Delegate and event
24 Delegate and Event handler
25 Delegate array
26 Delegate Combine
27 Delegate constaints
28 Delegate is a function pointer
29 Delegate with reference paramemters
30 Delegate with return values
31 Delegates can refer to instance methods
32 Delegates to Instance Members
33 Demonstrate a captured variable
34 Demonstrate multicasting
35 Generic Delegate
36 Generic Delegate list
37 Individual objects receive notifications when instance event handlers are used
38 Multicast delegates
39 Named-delegate invocation
40 Remove delegate from Multicast
41 Retrieving Even-Numbered Events
42 Retrieving Even-Numbered Events with the NET Delegate Convention
43 Return delegate from a method
44 Return Type Inference With Multiple Returns
45 Use a delegate to call object methods
46 Use delegate as the function parameter
47 Use delegate to reference two static functions
48 Uses the invocation list to calculate a factorial
49 Uses the reference parameter of a multicast delegate as a counter
50 Using a delegate to choose the right function to call
51 Using The Event Keyword