Delegates and Events as component technology for GoF Observer pattern ?
Posted on 2006-04-17
I am a college student trying to build a small Windows Application in Visual Studio 2005.
Simulation of Computer science department that contains faculty, students, courses, programs, registration process etc.
One aspect of the project requires me to simulate students enrolling/dropping classes, and the automatic notification to a faculty member when an enrollment is reached. Is delegates and events the best way to implement this in C# ? Does this involve a lot of code? Any good implementation strategies on this with respect to C# ?
Is there any good component technology that can be readily used to capture the Gang of Four Observer design pattern that can be applied to the above problem ?