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 |
Write the role of new keyword?
What keyword is used to accept a variable number of parameter in a method?
What is the difference between compiler and interpreter?
What is the difference between static or dynamic assemblies?
What is the diff between vb mdi form and .net mdi form?
Sir, what code to store data from vb net sql server 2008 to 2005 and at the same time in order to validate the data entered is not the same, but there have been contacts in the module. Examples such as the log table that I created, the user name as the primary key.
Explain the services provided by common language infrastructure.
Explain about visual basic?
Explain the difference between an xml "fragment" and an xml "document."
What is stack used for in vb. Net?
What is the importance of a Button control?
Is it necessary to have SQL server installed in your computer in order to create a service based database in vb.net?