Brian Mains Brian Mains - 1 year ago 150
C# Question

Activator.CreateInstance Performance Alternative

I'm using RedGate to do some performance evaluation. I notice dynamically creating an instance using

(with two constructor parameters) is taking a decent amount of time... is there a better alternative that still utilizes a reflective approach (not explicit instantation)?


Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download