单项选择题
Certkiller.com为本地银行开发应用程序。您被指定来创建此应用程序的,并需要存储每个交易记录,这被确定使用复杂交易的标识符,在内存中。银行会通知您交易纪录的总金额将达到每日 200。为了实现这一目标,您决定利用现有.NET 2.0 类库中的一个集合类。您需要确保您选择的集合类是最有效的一个存储事务记录。你应该做什么?()
A.选择 ListDictionary 集合类
B.选择哈希表集合类
C.选择队列的集合类
D.选择 StringCollection 集合类
相关考题
-
单项选择题
Youaredevelopinganapplicationthatusesrole-basedsecurity.Theprinicipalpolicyoftheapplicationdomainisconfiguredduringstartupwiththefollowingcode:AppDomain.CurrentDomain.SetPrincipalPolicy(PrincipalPolicy.WindowsPrincipal);YouneedtorestrictaccesstooneofthemethodsinyourapplicationsothatonlymembersofthelocalAdministratorsgroupcancallthemethod.Whichattributeshouldyouplaceonthemethod?()
A. [PrincipalPermission (SecurityAction.Demand, Name = @"BUILTIN\Administrators")]
B. [PrincipalPermission (SecurityAction.Demand, Role = @"BUILTIN\Administrators")]
C. [PrincipalPermission (SecurityAction.Assert, Name = @"BUILTIN\Administrators")]
D. [PrincipalPermission (SecurityAction.Assert, Role = @"BUILTIN\Administrators")] -
单项选择题
您目前正在审查由其他开发人员创建的应用程序的过程中。您正在检查的应用程序包括声明一个名为 EmployeeList,其中存储雇员对象的集合。如下所示:公共类 EmployeeList: Enumerator, IEnumerable{/ / 类实现}您需要的能力来循环访问 EmployeeList,最小的开发工作。你应该做什么?()
A.利用switch语句
B.利用dowhile语句
C.利用foreach语句
D.使用if语句 -
多项选择题
YouworkasanapplicationdeveloperatCer-Tech.com.YouareintheprocessofcreatinganapplicationforCert-Tech.com’sHumanResourcesdepartmentthattracksemployeebenefitsYouhavetostorecurrentemployeedatawithoutrecompilingtheapplication.Youelecttostorethisemployeedataasacustomsectionintheapplicationconfigurationfile.Therelevantportionoftheapplicationconfigurationfileisshowninthefollowingexhibit:Whatshouldyoudo?()
A. Create a custom section handler class that inherits the ConfigurationSection interface
B. Add a section element to the EmployeeSection element of the application configuration file
C. Create a custom section handler class that implements the IConfigurationSectionHandler interface.
D. Add an EmployeeSection element to the configSections element of the application confguration file
E. Create a custom section handler class that implements the IApplicationSettingsProvider interface
F. Add a section element to the configSections element of the application configuration file
