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 |
Explain the difference between an xml "fragment" and an xml "document."
what r the properties should be given to set method?
I want to reduce my CPU Usage when I am querying the Database for records. Now my Winform App(in VB.Net) suddenly Jumps to 100% CPU Usage when i query for records from sql server database. I want this Usage to be less. Any help is appreciated
What is meant by jagged arrays?
How can we store decimal data in .net?
What is difference between metadata and manifest?
What are jagged arrarys ?
What is difference between inline and code behind?
What is MSIL
Explain convert.tostring and i.tostring method?
What is the size of .net object?
Explain i.tostring method?