Delegates quesion

If I have a dog and person class. How can I create an event such that when the dog barks the person can subscribe to the event? Could be a very simple hello world example.

In the dog

in the person