您正在使用Microsoft Visual Studio 2005 IDE檢查一個返回string的方法的輸出信息,您指定這個方法的輸出給一個命名為fName的變量,您需要寫一個代碼片段打印下面這一行信息"Test FaileD."如果fName的值不為”JohnJohn””,您應(yīng)該確定這個應(yīng)該程序的代碼持續(xù)的執(zhí)行,您應(yīng)該使用哪一個代碼片段()
A.A B.B C.C D.D
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.