How can I instantiate the type T inside my InstantiateType method below?
InstantiateType
I\'m getting the error: \'T\' is a \'type parameter\' but is u
You can also use reflection to fetch the object's constructor and instantiate that way:
var c = typeof(T).GetConstructor(); T t = (T)c.Invoke();