Implementation of the Popular Design Patterns in C#