AppDomains are usually created by hosts (Windows Shell, ASP.NET and IE).
When you run a .NET application from the command-line, the host is the Shell. The Shell creates a new AppDomain for every application. AppDomains can also be explicitly created by .NET applications.
Asked In: Many Interviews |