what is the return type of event?
pls reply?
What is the return type of event?
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
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 attend4days leftRegister
Shweta LodhaRank #31 · 39.8K reputationPosted Jan 22, 2015, 5:29 AM EST
It totally depends on the type of the delegate you declare the event with. Usually events are declared with a delegate of type EventHandler or EventHandler which returns void, but nothing prevents declaring an event with a different type of delegate.
More:
http://blogs.msdn.com/b/deviations/archive/2008/11/27/event-handlers-returning-values.aspx