I am using some .NET assemblies another developer wrote for use from an older VB6 application. They are only used for some of our customers so I am using the Assembly.LoadFrom(file) method and invoking the methods. I am worried about unloading / releasin开发者_如何学Gog the objects after I make the calls. Do I need to do something explicitly, or will the garbage collector take care of it automatically?
You can't unload an assembly.
(The closest you can come to that is loading it into an AppDomain
that you then unload.)
精彩评论