Question: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 System.ComponentModel.Component myComponent;
myComponent = new System.ComponentModel.Component();
 

B AppDomainSetup mySetup =
AppDomain.CurrentDomain.SetupInformation;
mySetup.ShadowCopyFiles = "true"; 

C System.Diagnostics.Process myProcess;
myProcess = new System.Diagnostics.Process(); 

D AppDomain domain;
domain = AppDomain.CreateDomain("MyDomain"); 

+ Answer
+ Report
Total Preview: 616

Copyright © 2024. Powered by Intellect Software Ltd