Basic C# implementations of a few common design patterns.