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 |
i am attending to US consulate i kept my projects on vb.net ,please help me what questions will be ask on vb.net in us consulate
What is strong name in .net assembly?
Write the role of new keyword?
What are the various open source tool available for VB.NET?
What is the difference between .dll extension and .exe extension files?
how to save items in gridview and the form name is vendor rating?
How would you implement inheritance using vb.net?
What is static member?
my project run very wel in my sytem yhen i am deploying my project on client machine ,after deployment i run my project then it show " can no find server name " what i do .
What is break mode? What are the options to step through code?
Explain the use of console application?
What is the differences between dataset.clone and dataset.copy?