Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/arrays/13.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
.net 如何更改数组的大小?_.net_Arrays - Fatal编程技术网

.net 如何更改数组的大小?

.net 如何更改数组的大小?,.net,arrays,.net,Arrays,我有一个已定义的数组: Private shapePoints(picWidth, picHeight) As Integer 我需要在代码中更改此数组的大小 我如何才能做到这一点?请参见MSDN中的 ReDim shapePoints(picWidth, picHeight)

我有一个已定义的数组:

    Private shapePoints(picWidth, picHeight) As Integer
我需要在代码中更改此数组的大小

我如何才能做到这一点?

请参见MSDN中的
ReDim shapePoints(picWidth, picHeight)