试题详情
- 单项选择题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
- C
关注下方微信公众号,在线模考后查看
热门试题