A simple C#-like implementation of the Observer design pattern.