C# CONCEPTS

Design Pattern - Decorator

According to Gang of Four, the pattern adds extra responsibilities to a class object dynamically.

Sukhpinder Singh | .Net Developer
Published in
3 min readMay 30, 2021

--

Photo by Jonas Svidras from Pexels

Use Case

Let’s consider the example of buying a car worth ten lakhs; the company provides the following additional features

  • Sunroof

--

--

Sukhpinder Singh | .Net Developer
C# Programming

Programmer by heart | C# | .Net 6 | .Net 8 | dotnet | dotnetcore | Kubernetes | Angular | AWS | Remember to 👏 Linktree: https://linktr.ee/sukhpindersingh