Win Surprise Gifts!!!
Top 5 Contributors of the Month
Post New Question
Subscribe to Forum
September 06, 2008
As per my knowledge, Delegate is a pointer to a function.
I have some questions on delegate please any one can help me..........
1) Why would I use a delegate?
2) Can anyone provide a real-world example of when I should use a delegate?
3) An example of a task that can't be done without the use of a delegate?
4) The relationship between Delegates and Events?
5)Is there any alternative to delegates.
I read some of the books but i didn't get what is the exact usage of delegates.
please give me some of the real world scenarios to use delegates.
giving in depth knowledge helps me a lot........................
thanks to all in advance.
Posted Date: September 07, 2008 Points: 5
you should use a delegate when:
a)An eventing design pattern is used.
b)It is desirable to encapsulate a static method.
c)The caller has no need access other properties, methods, or interfaces on the object implementing the method.
d)Easy composition is desired.
e)A class may need more than one implementation of the method.
Mark As Answer
" if this post help you.
Posted Date: September 11, 2008 Points: 5
can u give more detail pls?
To post reply
Related Questions Related Questions
Checking workflow usage in Sharepoint
Structure and class usage
What is the Usage of StateBag
sql server 2008 express edition import export wizard usage
Timer usage in the form application
SSIS Custom Connector usage error
Latest Forum Questions From The Same Category
To Achieve draw wave form from speaker outputs.
How to display the text in the second ck editor with strikes while extracting from database
Mail is working but I want send two excel file to each different person
how to display child nodes with headers and keeping the child nodes in a table
In DataGrid I have Two Dropdownlist, One in Header template and Item Template
Display data directly from database table to PDF using stored procedures in asp.net C#
How to install and use Dev Express ?
Dialogbox Custom Control
Custom Control in Winforms
I just started learning c#.net console application
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more
Quick Links For Forum Categories:
Hall of Fame
Terms of Service
Tell A Friend