I thought I understood the events in C #. Sometimes they are used if you do not want to name the method directly, and not the left place for a custom implementation. But when?
Programmer A writes class A, programmer B writes class B. Class A must fire an event that Class B detects and responds, but class A knows nothing about the function that class B uses to serve.
Could you provide me a simple example?
source
share