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 is DLL HELL in VB.NET
Which namespace are used for accessing the data?
What do you mean by option strict on?
Did vb6 support multi-threading ?
What is pre-jit?
Explain the advantage of option strict on?
What is the difference between vb 6 and vb.net?
What is trace in vb.net?
Explain about delegate?
Described strong typing and weak typing?
What is the difference between convert.tostring and .tostring() method?
What are the difference between structure and class?
What is the significance of delegates?
Name some of the features of C# which are not present in VB.NET?
What is globalization?