单项选择题
您正在创建一个共享的程序集的过程中。您要执行许多的集成测试,以确保程序集使用多个应用程序工作正常。要避免不断更新每个应用程序引用的程序集,则更新时。在由 DEVPATH 环境变量设置为共享的程序集的默认生成位置。您需要确保公共语言运行库 (CLR) 使用由 DEVPATH 找到共享程序集。你应该做什么?()
A.
B.
C.
D.
相关考题
-
单项选择题
You are developing an application that will perform mathematical calculations.You need to ensure that the application is able to perform multiple calculations simultaneously. What should you do?()
A.Set the IdealProcessor property of the ProcessThread object.
B.Set the ProcessorAffinity property of the ProcessThread object.
C.For each calculation, call the QueueUserWorkItem method of the ThreadPool class.
D.Set the Process.GetCurrentProcess().BasePriority property to High. -
单项选择题
Your application uses two threads, named threadOne and threadTwo.You need to modify the code to prevent the execution of threadOne until threadTwo completes execution. What should you do?()
A.Configure threadOne to run at a lower priority.
B.Configure threadTwo to run at a higher priority.
C.Use a WaitCallback delegate to synchronize the threads.
D.Call the Sleep method of threadOne.
E.Call the SpinLock method of threadOne. -
多项选择题
You create a service application that monitors free space on a hard disk drive. You must ensure that the service application runs in the background and monitors the free space every minute. What should you do?()
A.Add code to the default constructor of the Service class to monitor the free space on the hard disk drive.
B.Add code to the OnStart method of the Service class to monitor the free space on the hard disk drive.
C.Add an instance of the System.Windows.Forms.Timer class to the Service class and configure it to fire every minute.
D.Add an instance of the System.Timers.Timer class to the Service class and configure it to fire every minute.
E.Add code to the OnStart method of the Service class to start the timer.
F.Add code to the Elapsed event handler of the timer to monitor the free space on the hard disk drive.
G.Add code to the Tick event handler of the timer to monitor the free space on the hard disk drive.
