Do event have return type?
Answers were Sorted based on User's Feedback
Answer / abhinav
Yes Event do have return Type.It actually depends on the
Delegate Type of the Event.Most generally we
use 'EventHandler' as Delegate Type that does not have a
return Type.When you define your own Delegate you can have
a return type and then declare an Event with this Delegate
Type.While compiling the c# compiler will look for the
return Type in the objects that have subscribed to this
Event.
Is This Answer Correct ? | 22 Yes | 6 No |
Compare c# and visual basic.net?
What are the different types of Lock available in Visual Basic?
Define naming convention?
what is common language specification?
What is the Difference between CLR & CTS?
What is intermediate language in .NET ?
20 Answers Digital GlobalSoft,
what is common type system?
What is the difference between manifest and metadata?
How do you rate yourself in .NET ?
3 Answers Infosys, Seneca Global,
What is the difference between vb 6 and vb.net?
How to connect a service based database to vb.net forms? Do we have to create any specific database?
What are the difference between dispose(), close(), exit(), end()?