Delegates
Why we use Delegates? Is there any Substitute of Delegates?
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 Jun 2, 2011, 12:02 AM
Sandeep ShekhawatPosted Jun 1, 2011, 10:50 AM
http://shekhawatsandeep.wordpress.com/2011/05/18/delegate/
Vilas GitePosted Jun 1, 2011, 10:32 AM
Please refer below articles it really useful for your post.
http://www.c-sharpcorner.com/UploadFile/Ashush/Delegates02152008155757PM/Delegates.aspx
http://msdn.microsoft.com/en-us/library/aa288459(v=vs.71).aspx
http://www.java2s.com/Code/CSharp/Language-Basics/Asimpledelegateexample.htm-------------------------------------------------------------------------------------
If this reply solve your post…then "MARK AS ANSWER"!
Posted May 27, 2011, 12:22 AM
Delegates are a kind of type safe function pointers which are actually declared as class derived from System.MulticastDelegate. There are few rules how to write that class. First you must declare .ctor and Invoke methods, if you like to have asynchronous callback involved there are two more methods just for that case BeginInvoke and EndInvoke.
http://www.c-sharpcorner.com/UploadFile/puranindia/CNetDelegatesEvents06152009024149AM/CNetDelegatesEvents.aspx
http://www.c-sharpcorner.com/UploadFile/6897bc/4154/
http://www.c-sharpcorner.com/UploadFile/6897bc/4162/