单选题 Certkiller.com为本地银行开发应用程序。您被指定来创建此应用程序的,并需要存储每个交易记录,这被确定使用复杂交易的标识符,在内存中。银行会通知您交易纪录的总金额将达到每日 200。为了实现这一目标,您决定利用现有.NET 2.0 类库中的一个集合类。您需要确保您选择的集合类是最有效的一个存储事务记录。你应该做什么?()
选择 ListDictionary 集合类
选择哈希表集合类
选择队列的集合类
选择 StringCollection 集合类
单选题 选择正确的选项()
A
B
C
D
单选题 选择正确的选项()
A
B
C
D
单选题 You work as an application developer at Certkiller .com. You have recently created a custom collection class named ShoppingList for a local supermarket. This custom class will include ShoppinItem objects that have the public properties listed below. * Name * AisleNumber * OnDiscount You are required to enable users of your class to iterate through the ShoppingList collection, and to list each product name and aisle number using the foreach statement.You need to achieve this by declaring the appropriate code.What code should you use?()
public class ShoppingList : ICollection {// Class implementation }
public class ShoppingList : IEnumerator, IEnumerable {// Class implementation }
public class ShoppingList : Ilist {// Class implementation }
public class ShoppingList : Enum {// Class implementation }
单选题 您需要编写一个代码段中,该代码段将在应用程序内创建公共语言运行库(CLR)隔离单元。您应该使用哪个代码段?()
A
B
C
D