请教高手,关于集合和列表的。rebex.net ftp

ytcola 2012-10-22 09:08:47
反编译rebex.net ftp,发现一个问题,有个类,大概是这么实现的。在最后一块,
public class this[int] 编译时出现错误,说[int]后面应输入标示符?我该输入什么?
我的QQ:75455329,希望有高手能帮我解决一下。这段代码改好后可以贡献出来给网友,哈哈


IEnumerable<Class>, IEnumerable
IList<Class> _collection;
public class this[int]
{
get
{
return this._collection[num1];
}
set
{
throw new Exception("The method or operation is not implemented.");
}
}
...全文
55 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
SecretGarden 2012-10-22
  • 打赏
  • 举报
回复
public class this[int num1]

110,538

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 C#
社区管理员
  • C#
  • Web++
  • by_封爱
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

让您成为最强悍的C#开发者

试试用AI创作助手写篇文章吧