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 use of internal keyword?
What is an indexed property?
Name some of the features of C# which are not present in VB.NET?
How to store decimal data in .net?
linex will support dot net?
4 Answers Phoenix Technologies,
visual basic 6.0 hava print statement for printing on form.what is the alternative for this in vb.net?
What keyword is used to accept a variable number of parameter in a method?
hello friends.. when i deployment my project in the client machine that is successful but whenever i try to run my project using .exe file then it gives me error "<filename>.exe is not a valid win32 application." what i do somebody halp me pls
Name the class which allows an element to be accessed using unique key?
What is internal keyword in .net framework?
How to run a dos command in vb.net?
Explain the use of serialization and deserialization?