'C# Assigning an event as an eventhandler

I just noticed it is permitted to assign Events as EventHandlers, as long as their delegates match:

public class A 
{
    public event Action<object> someEvent;
    ...
}

public class B 
{
    private A a;
    public event Action<object> someOtherEvent;
    
    public B()
    {
        this.a = new A();
        this.a.someEvent += someOtherEvent;
    }
}

Does it mean that each call of a.someEvent is simply passed to B.someOtherEvent?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source