Help I'm trapped in a code factory!
Short programming tutorials and random geek stuff.
Home » CSharp

A simple C# factory example

December 5, 2011 · by gguuss · in CSharp, patterns, programming

This simple example is an attempt at demonstrating the factory pattern. The key point of the following code is that the client (Program.Main) doesn’t need to know about the state of the producers (Gus and TheMan) in order to get…

← Previous 1 2

Search

Copyright © 2021 Help I'm trapped in a code factory!

Powered by WordPress and Origin