Microsoft
98-372 · Question #161
An event declaration is shown in the following code segment. Public Event NewProduct As NewProductEventHandler What is NewProductEventHandler in the event declaration?
The correct answer is C. The name of the delegate that will dispatch the event. See the full explanation below for the reasoning.
Question
An event declaration is shown in the following code segment. Public Event NewProduct As NewProductEventHandler What is NewProductEventHandler in the event declaration?
Options
- AAn enumeration that defines the type of the NewProduct variable.
- BA built-in data type for handling events.
- CThe name of the delegate that will dispatch the event.
- DThe name of the class method that will catch the event.
How the community answered
(51 responses)- A8% (4)
- B18% (9)
- C71% (36)
- D4% (2)
Community Discussion
No community discussion yet for this question.