标签:des blog io ar sp 数据 div on log
将一个数组中指定的一部分元素,复制到另外一个数组中。需要注意的是,需要先new出另外的数组,大小是已知的。
public static void Copy(
Array sourceArray,
int sourceIndex,
Array destinationArray,
int destinationIndex,
int length
)
参数
sourceArray
类型:System.Array
Array ,它包含要复制的数据。
sourceIndex
类型:System.Int32
一个 32 位整数,它表示 sourceArray 中复制开始处的索引。
destinationArray
类型:System.Array
Array ,它接收数据。
destinationIndex
类型:System.Int32
一个 32 位整数,它表示 destinationArray 中存储开始处的索引。
length
类型:System.Int32
一个 32 位整数,它表示要复制的元素数目
标签:des blog io ar sp 数据 div on log
原文地址:http://www.cnblogs.com/chucklu/p/4086380.html