题目

You work as an application developer at Certkiller .com. You are currently in theprocess of reviewing an application that was created by a fellow developer.The application that you are reviewing includes a declaration for a collection named EmployeeList, which stores Employee objects. The declaration is shown below: public class EmployeeList : Enumerator, IEnumerable { // Class implementation } You require the ability to iterate through the EmployeeList with minimum development effort.What should you do?()

A、 Utilize the switch statement

B、 Utilize the dowhile statement

C、 Utilize the foreach statement

D、 Utilize the if statement

提示:未搜索到的试题可在搜索页快速提交,您可在会员中心"提交的题"快速查看答案。
答案
查看答案
相关试题

工伤预防的主要手段有哪些?

极地一年中有长长的白天或长长的黑夜现象。

A、对

B、错

著名杂剧()中的唱词"碧云天,黄花地,西风紧,北雁南习,晓来谁染霜林醉,终是离人泪",一向脍炙人口。

A、《西厢记》

B、《救风尘》

C、《牡丹亭》

D、《汉宫秋》

墨家的理想是要建立一个"兼相爱、()"的理想社会。

如何看待“亲亲相容隐”和汉代的复仇?

联系我们 会员中心
返回顶部