單項選擇題

用戶類若想支持Foreach語句需要實現(xiàn)的接口是:()

A.IEnumerable
B.IEnumerator
C.ICollection
D.ICollectData

微信掃碼免費搜題