Fast Class Factories
It's common to use the Activator class in the Reflection namespace to implement a class factory. But did you know that Activator is close to a 100 times slower than compiled code? Fortunately there is a solution. I am going to show you a very cool class factory implementation that totally outperforms the Activator class.