csharp-dynamic-replace-class simple example to test the possibility to replace a given type at runtime with something dynamic that follows the naming rules of the existing class SO post: https://stackoverflow.com/questions/752/how-to-create-a-new-object-instance-from-a-type