A simple C# factory example
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…