Answer Posted / 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 |
Post New Answer View All Answers
What is the class that allows an element to be accessed using unique key?
i have two class that contain's two methods as same name in derived class i have to call these two methods what will happen at run time ?
What is the difference between static or dynamic assemblies?
What is enumerator?
What is the ruby interface generator?
What are nested classes?
What are the advantages of VB.NET?
how many server control present in .net
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.
How to store decimal data in .net?
List the two main parts of .net?
What is the difference between datagrid and gridview?
When do you use virutal keyword?
What is redim keyword and its use?
Explain namespace?