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 cls?
Which classes a dll can contain?
What are the parts of the visual basic control?
Name the tool which can convert visual basic old version to .net compatibility version?
Explain enumerator?
Why do we use ansi keyword?
What are the types of generations in garbage collector?
So you know which dll is used for microsoft .net run time?
Explain the components of common language runtime.
Trace and Debug belongs to which namespaces?
Can you please explain the difference between value and reference types?
What is redim keyword and its use?
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)