MCQs > IT & Programming > DotNet Using VB > Which are valid mechanisms for adding an event handler for Public Event SomeEvent() on the class Sample?

DotNet Using VB MCQs

Which of the following are valid mechanisms for adding an event handler for Public Event SomeEvent() on the class Sample?

Answer

Correct Answer: AddHandler Sample.SomeEvent AddressOf MyEventHandler
Public Sub MyEventHandler

Explanation:

Note: This Question is unanswered, help us to find answer for this one

DotNet Using VB Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

DotNet Using VB Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it