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 |
linex will support dot net?
4 Answers Phoenix Technologies,
What is difference between metadata and manifest?
Explain about jagged arrarys ?
What is the advantage of using system.text.stringbuilder over system.string?
what is the dif b/w panel and groupbox.
Explain about visual basic?
Explain how to achieve polymorphism in vb.net?
Explain the difference between vb.net and c#, related to oops concepts?
How do you define a read only property in a class module?
What is a static class?
Explain about garbage collection?
What are all the differences between dispose and finalize()?
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)