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 vb.net
How to retrieve images in sql server database through vb.net?
How do you define a read only property in a class module?
The default back end of the VB is
What are the shadow variables?
Explain trace in vb.net?
What are all the differences between dispose and finalize()?
Explain option strict?
Which dll is used for microsoft .net run time?
Regarding Types of compatability in VB and their usage ?
Give the sample code for ItemStockGroupwise Report?
What are the difference between structure and class?
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)