foreach 能用foreach遍历访问的对象需要实现 ________________接口或声明 ________________方法的类型。 答:IEnumerable 、 GetEnumerator。