Why does calling AppDomain.Unload doesn't result in a garbage collection?
问题 When I perform a AppDomain.Unload(myDomain) I expect it to also do a full garbage collection. According to Jeffrey Richter in "CLR via C#" he says that during an AppDomain.Unload: The CLR forces a garbage collection to occur, reclaiming the memory used by any objects that were created by the now unloaded AppDomain. The Finalize methods for these objects are called, giving the objects a chance to clean themselves up properly. According to "Steven Pratschner" in "Customizing .NET Framework