Process and AppDomain load/unload
If I instance a new Process in which I then create a new AppDomain, I'm wondering what is the safest way to end the Process. Should I:
- AppDomain.Unload(myAppDoma开发者_运维百科in)
- Process.Close() OR Process.Dispose(), then Process.Close()
No, there is no need to unload your domain manually before closing the process. And you should call only Process.Close().
精彩评论