I need to get an instance of a type whose name and assembly name I will have at runtime. I know in advance the type will have a parameterless constructor. What’s the easiest way to do this?
It’s waaaaaaay harder than I was hoping it would be.
Edit: I’m not if this is relevant, but the assembly will be referenced. I don’t need to load it from disk or something.
http://msdn.microsoft.com/en-us/library/w3f99sx1.aspx
http://msdn.microsoft.com/en-us/library/system.type.assemblyqualifiedname.aspx