目标数组的长度不足,无法复制集合中的所有项。请检查数组索引和长度什么意思

发布时间:2019-07-31 20:19:56

出现应用程序未处理的异常:2019/07/13 9:42:02

Application UnhandledException:目标数组的长度不足,无法复制集合中的所有项。请检查数组索引和长度。;

堆栈信息:   在 System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)

   在 System.Collections.Generic.Dictionary`2.ValueCollection.CopyTo(TValue[] array, Int32 index)

   在 System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)

   在 BaseFrameWork.Game.GGameCityInfos.GetCityNameById(Int32 int0)

   在 GodHand.Task.ControlTask.SendCtrledHeroInfo(Object state)

   在 System.Threading._ThreadPoolWaitCallback.WaitCallback_Context(Object state)

   在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)

   在 System.Threading._ThreadPoolWaitCallback.PerformWaitCallbackInternal(_ThreadPoolWaitCallback tpWaitCallBack)

   在 System.Threading._ThreadPoolWaitCallback.PerformWaitCallback(Object state)

---------------------------------------------------------


推荐回答

还没有选出推荐答案,请稍候访问或查看其他回答!
以上问题属网友观点,不代表本站立场,仅供参考!