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 |
What is the difference between manifest and metadata?
What is the Advantage of vb.net over vb
What is strong typing and weak typing?
Explain private assembly?
Explain clr?
sql satement for 2nd maximum value
Explain the difference between system.string and system.stringbuilder classes?
What are the objects in asp.net and tell the purpose of those objects
What is the significance of delegates. Where should they be used? What are the situations where we require them?
Can we use a crystal report into a another crystal report
what's ArrayList in .Net (VB.Net or C#).What's the advantageous using ArrayList.
Explain an assembly?