Exception Not Found

The Abstract Factory Pattern in C#

Abstract Factory is a pattern in which you can create interfaces for related objects without specifying their implementation.

The Factory Method Pattern in C#

Let's build the Factory Method pattern using sandwiches and C#!

Design Patterns in C# - Introducing the Daily Design Pattern

Lately I've been on something of a design patterns kick, from realizing that patterns are tools, not goals [https://exceptionnotfound.net/software-design-patterns-are-not-goals-they-are-tools/] to developing and recording an extensive course for my employer and my fellow programmers at my current employer. It's been enlightening, to say the least. In fact, I

The Fisher-Yates Shuffling Algorithm in C# (And Why It Works So Well)

I've been working on an upcoming modeling practice [https://exceptionnotfound.net/tag/modelingpractice/] blog post and I needed (once again [https://www.exceptionnotfound.net/simulating-candy-land-in-net-part-2-programming-the-game/] ) to implement a card-shuffling algorithm. As always, I turned to the trusty Fisher-Yates shuffle [https://en.wikipedia.org/wiki/Fisher%E2%80%93Yates_shuffle] to

Software Design Patterns Are Not Goals, They Are Tools

I went through a phase earlier in my career [http://www.exceptionnotfound.net/be-like-us-or-else-desperation-failure-and-new-job-regret/] where I thought design patterns were the be-all, end-all of software design. Any system which I needed to design started with the applicable patterns: Factories, Repositories, Singletons, you name it. Invariably, though, these systems were difficult

Exception Not Found © 2026