Best way to create an instance of run-time determined type [duplicate]
This question already has an answer here: How to create a new object instance from a Type 12 answers What's the best way (in .NET 4) to create an instance of a type determined at runtime. I have an instance method which although acting on a BaseClass object may be called by instances of its derived classes. I require to create another instance of the same type as this within the method. Overloading the Method for each derived class is not practical as it is fairly involved and would be more efficient to keep to the single implementation. public class BaseClass { //constructors + properties +