单项选择题
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.
单项选择题 你在 Certkiller.com 应用程序的开发工作,Certkiller.com,让你在开发应用程序存储和检索的独特的员工人数的工作人员的信息。您已经编写下面的代码将雇员对象存储的目的。Employee e1 = new Employee (1001, "Andy Reid", "Manager"); Employee e2 = new Employee (1002, "Kara Lang", "Sales Engineer"); Dictionary eData = new Dictionary (); eData.Add (e1.ID, e1);eData.Add (e2.ID, e2);雇员的所有其他对象添加以相同的方式。您要显示在字典集合中的所有键值对。你应该做什么?()
单项选择题 You work as the application developer at Cert-Tech.com. Cert-Tech.com uses Visual Studio.Net 2005 as its application development platform. You use a Windows XP Professional client computer named Client01 as your development computer. You are developing a .Net Framework 2.0 application on Client01. You write the code shown below:Public Class Shape Private shapeName as String Public Sub Shape(ByVal shapeName as String) Me.shapename=shapeName End Sub Public Overridable Fuction GetName() As String Return shapeName End Function Private Sub DrawShape() ’Additional code goes here End Sub End Class You later decide to have the application compiled and registered for COM interoperability. The other developers on your team complaing that they are unable to create an instance of the Shape class in their COM applications. You are required to ensure that COM applications are able to create an instance of the Shape class. What should you do?()
单项选择题 Youaredevelopinganapplicationtoassisttheuserinconductingelectronicsurveys.Thesurveyconsistsof25true-or-falsequestions.Youneedtoperformthefollowingtasks:Initializeeachanswertotrue.Minimizetheamountofmemoryusedbyeachsurvey.Whichstorageoptionshouldyouchoose?()