【发布时间】:2012-10-09 17:21:18
【问题描述】:
ArrayList ArrAcc = new ArrayList();
string ArrValue = ClsContractAccount.GetAccount(LngContract, "R");
ArrAcc.Insert(1, ArrValue);
当我尝试执行此查询时获取 ArgumentOutOfRangeException 我的执行有什么问题?
【问题讨论】:
-
你为什么用
ArrayList而不是List<>? -
我知道这是个问题,但我正在转换的系统使用 ArrayList,所以必须自己使用它