Answer Posted / 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 |
Post New Answer View All Answers
What are the different types of Lock available in Visual Basic?
Tell me which namespace are used for accessing the data?
How many ways the function can return values?
What is difference between inline and code behind?
Write a program to find all text files in a logical drive and return the count of the number of files?
What is the difference between manifest and metadata?
What is the diff between vb mdi form and .net mdi form?
Before in my vb app I would just load the icons from dll. How can I load the icons provided by .net dynamically?
What is the importance of a Button control?
what is interface and when it is used?
Can you please explain the difference between system.string and system.stringbuilder classes?
Explain the difference between dispose and finalize()?
Explain jit?
What is a static variable?
What are nested classes?