Featured resource
2026 Tech Forecast
2026 Tech Forecast

Stay ahead of what’s next in tech with predictions from 1,500+ business leaders, insiders, and Pluralsight Authors.

Get these insights
  • Course
    • Libraries: If you want this course, consider one of these libraries.
    • Core Tech

C# Design Patterns: Decorator

The decorator design pattern allows you to dynamically add behavior to your classes without modifying the original class. This allows you to layer in new functionality to a class while keeping different concerns cleanly separated.

David Berry - Pluralsight course - C# Design Patterns: Decorator
David Berry
What you'll learn

The decorator design pattern allows you to dynamically add behavior to your classes without modifying the original class. This allows you to layer in new functionality to a class while keeping different concerns cleanly separated. The decorator pattern is especially useful for when you need to apply cross cutting concerns like logging, authorization, and caching, but can also be used to modify data passed to and from an object. Understanding how to apply the decorator pattern gives you a powerful tool when you need to add behavior to and extend the functionality of your classes.

Table of contents

About the author
David Berry - Pluralsight course - C# Design Patterns: Decorator
David Berry

David Berry is a software engineer with over 15 years of experience developing applications in languages such as Java and C#. Throughout his career, he has worked extensively with enterprise database systems including Oracle and SQL Server.

Get access now

Sign up to get immediate access to this course plus thousands more you can watch anytime, anywhere.

Get started with Pluralsight