Hi,
What is Delegates in c#. How many Types of it.
Thanks, in advance
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Sam HobbsPosted Aug 25, 2011, 2:15 AM
Satyapriya NayakPosted Aug 25, 2011, 12:40 AM
Delegates: - It is a procedure pointer, which stores the memory address of another procedure.
Delegates are two types
1)Single cast delegate.
2)Multi cast delegate.
Single Cast Delegate:
A delegate which can point to a single method is called a single cast delegate.
Multi Cast Delegate:
A delegate which can point to multiple methods in order to invoke both the methods at the time of invocation.In this case the method return type should be void.
Refer link
http://www.csharp-station.com/Tutorials/lesson14.aspx
Suthish NairPosted Aug 25, 2011, 12:32 AM