Which of the following are valid reasons to create an application domain?
A. It is the only way to start a separate process.
B. You can remove the application domain to free up resources.
C. Application domains improve performance.
D. Application domains provide a layer of separation and security.
You can call AppDomain.Unload to close the application domain and free up resources. Application domains provide a layer of separation. Additionally, you can limit the application domain’s privileges, reducing the risk of a security vulnerability being exploited in an assembly.