Click here to Skip to main content
15,890,527 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi everyone,

what is a target for a delegate and how can I use a delegate?
Posted
Updated 14-Nov-10 18:13pm
v2

you should navigate the given link to know about delegate in details

What is Delegates[^]

How to use delegates[^]
 
Share this answer
 
Well, you can start here: How to use delegates[^]

Once you know how to use delegates, I think you'll figure out what the target is.
 
Share this answer
 
The target of a delegate is a method (or methods) who's signature matches that of the delegate exactly.
 
Share this answer
 
Delegates is a type that reference Method. When it assigned by a method it behaves exactly same as that method. It can be used as parameters and can be returned a value. So it has same what are the methods have.

For more Read this article,
 
Share this answer
 
Hi Delegate is a reference of a method.You find it very useful when you need to call
a method of parent from the child control.Because you cant access any method of parent from child.

Declare delegate in child control . In parent control point it . and call when needed from child.
 
Share this answer
 
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900