What is AppDomain? [duplicate]
This question already has an answer here: Usage of AppDomain in C# 5 answers What is an AppDomain ? What are the benefits of AppDomains or why Microsoft brought the concept of AppDomains, what was the problem without AppDomains? Please elaborate. Marc Gravell An AppDomain provides a layer of isolation within a process. Everything you usually think of as "per program" (static variables etc) is actually per-AppDomain. This is useful for: plugins (you can unload an AppDomain , but not an assembly within an AppDomain ) security (you can run a set of code with specific trust levels) isolation (you