Mid GoF Patterns

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);

More from Design Patterns in C#

All questions for this course