可学答题网 > 问答 > MCPD(70-536)题库
目录: 标题| 题干| 答案| 搜索| 相关
问题

You are developing a&e


You are developing a custom-collection class.You need to create a method in your class. You need to ensure that the method you create in your class returns a type that is compatible with the Foreach statement. Which criterion should the method meet?()

  • AThe method must return a type of either IEnumerator or IEnumerable.
  • BThe method must return a type of IComparable.
  • CThe method must explicitly contain a collection.
  • DThe method must be the only iterator in the class.
参考答案
参考解析:
分类:MCPD(70-536)题库
相关推荐

1、You are developing a&e

You are developing a Windows Azure application in which a web role and worker role will&en...

2、You are developing a&e

You are developing a component by using the .NET Framework 3.5.The component provides a method&...

3、You are developing a&e

You are developing a class library that will open the network socket connections to computers&e...

4、You are developing a&e

You are developing a server application that will transmit sensitive information on a network. ...

5、You are developing a&e

You are developing a fiscal report for a customer. Your customer has a main office in&ensp...

6、You are developing a&e

You are developing a WCF service. The service includes an operation names GetProduct. You need&...