Home / Questions / How are event handlers different from delegates?
Explanatory Question

How are event handlers different from delegates?

👁 18 Views
📘 Detailed Answer
🕒 Easy to Read
Read the answer carefully and go through the related questions on the right side to improve your understanding of this topic.

Answer with Explanation

  • Event handlers run before or after a method

  • Delegates are invoked inside a method
    Delegates are useful when explicitly exposed by Microsoft.