我有一个包含数字数据的IEnumerable。
编辑 IEnumerable来自System.Collection.Ienumerable指令。
附上Viual Studio的截图,枚举包含数据:
alt文本 http://www.freeimagehosting.net/uploads/bd72c6c310.jpg
简单介绍一下上面的图像,eLevelData是IEnumerable
变量,其中包含我的数据。
现在我想要访问索引为4或5的数据,但是我不想使用foreach循环。 请提供建议。
谢谢,
Subhen