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 |
Can you please explain the difference between dispose and finalize()?
What is difference between inline and code behind?
Tell us how many languages are supported by .net?
What is the diff between vb mdi form and .net mdi form?
Explain the difference between namespace and assembly?
when a program of vb.net is written in notepad it occupies always 1kb of memory why?
How is VB.Net different from VB6?
How to achieve Polymorphism in VB.Net?
What are nested classes?
Hi I am planning to take interview in VB.net,can any one share your interview Questions for a Entry-level job. Regards Lina
What is the exact defination of object?
Explain the difference between an xml "fragment" and an xml "document."
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)