当前位置:MCPD(70-536)题库

问题:

[单选] 你在 Certkiller 做应用程序的开发工作。 com。您正在开发一个名为 ClientCollection 的集合类这是用于存储位于不同地理区域的 Certkiller.com 的客户的姓名。由客户端类表示这些客户端的名称。您打算创建一个名为 SortClients,安排客户端对象按升序排列的 ClientCollection 类中方法。您需要确保适当的接口由客户端类允许排序。应使用何种接口?()

A . IDictionary
B . IComparable
C . IComparer
D . IEqualityComparer

You are developing a client application that consumes a Windows Communication Foundation (WCF) service. You use the svcutil.exe utility to create a proxy for the service. You use the svcutil.exe switches that generate asynchronous calls. GetFlight is a service operation that takes no parameters and returns a string. The GetFlightCallback method must be called when the service operation returns.You create an instance of the client proxy with the following code:var client = new TranvelServiceClient();You need to ensure that a callback is received when the GetFlight operation is called asynchronously. Which code segment should you use?() client.BeginGetFlight(GetFlightCallback, null); client.GetFlight();。 client.GetFlight(); client.BeginGetFlight(GetFlightCallback, null);。 client.GetFlightCompleted += new EventHandler(GetFlightCallback); client.GetFlightAsync();。 IAsyncResult asyncResult = client.BeginGetFlight(GetFlightCallback, client); client.EndGetFlight(asyncResult); 。 冷锋 Your network consists of a single Active Directory domain. The domain contains 10 domain controllers.   The domain controllers run Windows Server 2008 R2 and are configured as DNS servers.  You plan to create a new Active Directory-integrated zone.   You need to ensure that the new zone is only replicated to four of your domain controllers. What should you do first() Create a new delegation in the ForestDnsZones application directory partition.。 Create a new delegation in the DomainDnsZones application directory partition.。 From the command prompt, run dnscmd and specify the /enlistdirectorypartition parameter.。 From the command prompt, run dnscmd and specify the /createdirectorypartition parameter.。 从事医疗器械批发业务的企业,其()、()、()等记录应当符合可追溯要求。 毒物 你在 Certkiller 做应用程序的开发工作。 com。您正在开发一个名为 ClientCollection 的集合类这是用于存储位于不同地理区域的 Certkiller.com 的客户的姓名。由客户端类表示这些客户端的名称。您打算创建一个名为 SortClients,安排客户端对象按升序排列的 ClientCollection 类中方法。您需要确保适当的接口由客户端类允许排序。应使用何种接口?()
参考答案:

  参考解析

从表面看IComparable是排序时使用IComparer只是比较

在线 客服