I am using .dll reference to my application. i want to unload the .dll in a button click event. How to do it ???
See also the answer to Implementing .NET plug-ins without AppDomains. Note the discussion in the comments, where they point out that it very slowly leaks memory.