create a new instance of a object type c# code example Example: c# create instance from type T instance = Activator.CreateInstance<T>();