hi
How we can bind more than two methods using delegates explain with syntax
Loading
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Hemant KumarRank #1,202 · 1.5K reputationPosted Jan 16, 2012, 8:04 PM EST
.Net delegates are all multi-cast delegates. When calling a multi-cast delegate that returns a value, only the last value will be returned. In order to process every return value, iterate the delegate list and invoke each delegate individually.
If one of the methods throws an exception, the delegate call will immediately stop and no other methods in the list will be called. http://en.csharp-online.net/Multi-cast_Delegate
http://www.dotnetjohn.com/articles.aspx?articleid=262
Mukesh KumarRank #615 · 3.9K reputationPosted Jan 16, 2012, 9:15 PM EST
Check this link http://www.codeproject.com/KB/cs/multicastdelegates.aspx
Jignesh TrivediRank #16 · 50.3K reputationPosted Jan 16, 2012, 10:42 PM EST
if two or more methods signature are same so you can you same delegate.
for more knowledge please refer.
http://msdn.microsoft.com/en-us/vstudio/bb508935
http://msdn.microsoft.com/en-us/library/ms173171%28v=vs.80%29.aspx
hope this help.
Dhaval PatelRank #1,023 · 1.9K reputationPosted Jan 16, 2012, 10:44 PM EST
Please refer below link for Delegates.
http://www.c-sharpcorner.com/Blogs/7215/use-delegates-in-csharp.aspx
Thanks & Regards
Dhaval Patel
VulpesRank #55 · 29.2K reputationPosted Jan 16, 2012, 11:35 PM EST
http://www.c-sharpcorner.com/Forums/Thread/153505/delegate-in-C-Sharp.aspx