This section of the chapter deals with AppDomains. AppDomains are essentially Common Language Runtime sandboxes; that is, separated memory spaces within a runtime host. Quite a few things can be done with AppDomains. Most of the time, programmers are unaware of the fact that their code is executing within an AppDomain and as such miss out on some very powerful features of the .NET Framework.

Introduction to AppDomains

An AppDomain is both an in-memory construct used by the Common Language Runtime for isolating applications from each other, as well as a class provided by the .NET Framework. Tables 12.2 and 12.3 describe some of the more notable and useful methods and properties belonging to the AppDomain class.

Table 12.2. Methods of ...

Get Microsoft® Visual C#® .NET 2003 Unleashed now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.