| |
|
What is a delegate? What is a Multicast Delegate?
Delegate - It is a type safe function pointer. It is a type that
holds the reference of a method. A delegate may be used to call a method
asynchronously.
Multicast Delegate - it is a delegate that holds reference of
more than one method. Multicast Delegates must have a return type of
void.
Click here to view an example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
| |