Day: November 19, 2007
-
Dynamically loading and Unloading Assemblies in C#
While working on a plugin manager for a program written in C#, I found myself with a need to be able to load and unload assemblies dynamically be an application. In C#, loading assemblies is a fairly easy prospect — one just needs to make use of the System.Reflection class. Something like the following: System.Reflection.Assembly…