试题详情
单项选择题You work as an application developer at Certkiller .com. You are developing a collection class named ClientCollection, which is to be used for storing the names of Certkiller .com’s clients that are situated in various geographical areas. These client names are represented by the Client class. You are planning to create a method named SortClients in the ClientCollection class to arrange Client objects in ascending order. You need to ensure that the appropriate interface is implemented by the Client class to allow sorting.What interface should be used?()

A、 IDictionary

B、 IComparable

C、 IComparer

D、 IEqualityComparer

  • B
  • 关注下方微信公众号,在线模考后查看

热门试题