If the event is in the same class where you do the check, you can compare with null. But if this is not the case, you should ask yourself why you care about the inner workings of any class. I mean that the work of a class that contains an event takes care of its subscribers, not vice versa. But if you really want this information event containing class can expose a property to the outside world - for example HasEventHandlers.
source
share