C# Design Patterns

If you want to learn about design patterns, and see how to implement them in C#, here are some guides, videos, and sample code I’ve created:

 

Builder Pattern (text and video)(video only)

Command Pattern (text and video)(video-only)

Composition over Inheritance (text and video)(video only)

Data Mapper and Active Record Patterns (text and video)(video-only)

Dependency Injection (text and video)(video only)

Factory Pattern (text and video) – (video-only)

Memento Pattern (text and video) – (video-only)

MVVM (Model-View-ViewModel) Pattern (text and video)(video only)

Prototype Pattern (text and video)(video only)

Publish/Subscribe (text and video)(video only)

Singleton Pattern (text and video) – (video-only)

Strategy Pattern (text and video)(video only)

Wrapper/Facade Pattern (text and video) – (video-only)

 

Solution, with all code samples

https://github.com/ScottLilly/CSharpDesignPatterns

6 thoughts on “C# Design Patterns

  1. Great articles.
    One quick question, Is factory pattern and abstract factory pattern fairly similar? I tried to learn abstract from other resources, seemed way to complicated for me. Could you do an article on abstract factory pattern in the future please? You have a great way of teaching.
    Thank you for your articles.

    1. I’ll look into creating a lesson for the abstract factory pattern. I’ve been really busy at work (and a little burnt out) for a few months – but am trying to back into creating new lessons here.

Leave a Reply

Your email address will not be published. Required fields are marked *