Skip to main content

Typed factories in C#3 – Managed “new”

· One min read
Founder, Asynkron Systems

This post originally walked through an experiment in expressing typed factory methods with C# 3.0 expression trees. The source article contains multiple code listings that dynamically construct delegates and compile expression trees. Rendering all of that code in this archive caused build issues, so the narrative here has been replaced by a pointer to the canonical version. Please refer to the original entry for the complete walkthrough and samples.