【发布时间】:2013-11-13 09:03:23
【问题描述】:
我有这个代码:
int[] numbers = new int[1000];
当我在 Visual Studios 中调试并将鼠标悬停在 num 数组上时,它显示长度为 1000,然后前 14 个字符为 0,之后的所有字符都是“?”。
分配数字[15]+ 不会改变任何东西,也不会导致程序崩溃。
【问题讨论】:
-
你能发布一些示例代码吗?
-
在监视窗口类型数字[15]中,它的输出是什么?
-
什么版本的 Visual Studio?你看到this question了吗?
-
重启后再检查
-
也许 14 是largest number?
标签: c# arrays visual-studio debugging limit