试题详情
简答题能用foreach遍历访问的对象需要实现?
  • 需要实现IEnumerable接口和GetEnumerator()方法。
  • 关注下方微信公众号,在线模考后查看

热门试题