예제 #1
0
        static void Main()
        {
            ConcreteSubject subject = new ConcreteSubject();

            IObserver observer = new ConcreteObserver(subject);

            subject.ChangeSubjectValue(50);
        }