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 an abstract class?
Explain about the performance of visual basic?
Explain the use of serialization and deserialization?
What is VB.Net?
Give the sample code for ItemStockGroupwise Report?
Explain the use of option explicit?
Explain jagged array in vb.net?
So you know which dll is used for microsoft .net run time?
What is the difference between vb 6 and vb.net?
What is the difference between manifest and metadata?
What is the difference between readonly variable and constant variable?
how many server control present in .net
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)