How could I implement a plug-in system using the CLR? By plug-in, I mean dynamically load DLLs at run time based on a list in a text file, and then having those DLLs contain an object that can interact with the main "driver" program. So I could have my main program, and it could be instructed to load any number of DLLs at runtime and create instances of a class in those DLLs. I imagine it would involve giving all the object DLLs a specific interface, but does anyone know exactly how all the dynamic loading and stuff could be done?
Any help is much appreciated. Thanks.