nerdexam
Microsoft

98-372 · Question #127

Which two actions should you perform to consume events defined in another class? (Each correct answer presents part of the solution. Choose two.)

The correct answer is C. Define an event handler method D. Match the signature of the delegate declared for the event. See the full explanation below for the reasoning.

Question

Which two actions should you perform to consume events defined in another class? (Each correct answer presents part of the solution. Choose two.)

Options

  • ADefine a method that raises the event.
  • BPlace a reference to the consuming class in the class that raises the event.
  • CDefine an event handler method
  • DMatch the signature of the delegate declared for the event.
  • ESet the current class as a sealed class.

How the community answered

(40 responses)
  • A
    13% (5)
  • B
    3% (1)
  • C
    78% (31)
  • E
    8% (3)

Community Discussion

No community discussion yet for this question.

Full 98-372 Practice