C# Design Patterns - An Overview

Over the next number of posts I am going to be exploring the world of design patterns. We’ll look at some of the most commonly used patterns and how they look in C#.

What Is A Design Pattern?

A design pattern is, simply, a solution to a recurring problem in software development. Design patterns outline communication and intreraction between objects in common programming situations.

When talking about design patterns the book “Design Patterns: Elements of Reusable Object-Oriented Software“, by the Gang Of Four, is considered the authority on the subject. Their patterns are considered the foundation of all other patterns that have immerged. They divide patterns into three categories: Creational, Structural, and Behavioral.

What Will This Series Cover?

In this series we will look at the some common patterns we see in real-world programming situations. We will discuss each pattern and look at real-world C# code that implements the pattern.

If all this sounds boring to you, don’t worry we’ll keep it interesting.

Be sure to grab the RSS feed or follow me on Twitter so you don’t miss out on this great series.

The C# Design Patterns Series

Part 1 - An Overview
Part 2 - The Decorator Pattern
Part 3 - The Abstract Factory Pattern
Part 4 - The Observer Pattern

About the author

This entry was contributed by Justin
246 entries have been written by this author.

22 comments on this post

minimal says:
Dec 3, 2008 - 01:12:28

Looking forward to new posts in this series. I just hope that your “real-world C# code” will be something more than the trivial (and not always covering every aspect of the pattern) examples as seen on wikipedia and not as useless as the ones in “Design Patterns in C#” by Steven John Metsker.

Justin says:
Dec 3, 2008 - 02:12:25

@minimal, thanks. I’ll do my best to be as detailed as possible.

Dec 3, 2008 - 04:12:57

lovely topic! design patterns are always my source of inspiration. keep it up buddy

Justin says:
Dec 3, 2008 - 05:12:15

@usman thanks for the encouragement. I love design patterns too.

Dick says:
Dec 3, 2008 - 12:12:01

The colors you are using, specially the light blue, are hard to read. Looking forward to your posts though.

Justin says:
Dec 3, 2008 - 02:12:01

@dick, fixed that. It was a glitch in the theme that wasn’t showing in Firefox so I missed it. Thanks.

Dec 3, 2008 - 10:12:03

Enjoyed the introduction. Not too familiar with Design Pattern concept but looking forward to using your post to educate myself and also ordered the book “Design Patterns: Elements of Reusable Object-Oriented Software“.

Justin says:
Dec 4, 2008 - 05:12:05

I hope you enjoy the series and learn from it. Welcome!

Dec 21, 2008 - 11:12:22

Very relevant post. Keep up the good work dude. :-)