Thoughtworks Interview Question

How INotifiyPropertyChanged work?