Observer Interface (IObserver):?
- This interface defines the Update() method, which will be implemented by concrete
observers. Each observer will receive updates from the subject when the state
changes.
public interface IObserver
void Update(string news);