Skip to content

technicalbundle/compositedesignpattern

Repository files navigation

Composite Design Pattern in C#

The implmentation of composite design pattern in C# using a simple console application with the below-mentioned requirement.

Requirement Description

Let us assume we have a have an Organization having different departments and each department consists of employees. The requirement is that the Client wants to collect (read) the recorded working hours of every employee along with the total working hour of each department.

An organization maintains the list of employees in an hierarchical way, so we can consider the use of composite design pattern to fulfill the client's requirement.

Application Output

The complete details about the Composite Design Pattern can be found at the following link: https://executecommands.com/composite-design-pattern-csharp-simple-example/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages