You need to write a code segment that will create a common language runtime (CLR) unit of isolation within an application. Which code segment should you use?

You need to write a code segment that will create a common language runtime (CLR) unit of
isolation within an application. Which code segment should you use?

A. AppDomainSetup mySetup =
    AppDomain.CurrentDomain.SetupInformation;mySetup.ShadowCopyFiles = “true”;
B. System.Diagnostics.Process myProcess;myProcess = new System.Diagnostics.Process();
C. AppDomain domain; domain = AppDomain.CreateDomain(“BraindumpsDomain”):
D. System.ComponentModel.Component myComponent;myComponent = new     
    System.ComponentModel.Component();

Answer: C 


 

No comments:

Post a Comment