Yes, it is, but indirectly, if you release an event in AFun, and AnEvent listens for this event, you will achieve what you want. Otherwise, what you are describing is not directly supported.
Code example:
public delegate void EventHandler(); public event EventHandler ev; public void AFun { ...do stuff ev();
source share