Copies the characters of the string segment to an array.
public void CopyTo(int sourceIndex, char[] destination, int destinationIndex, int count)
parameter | description |
---|---|
sourceIndex | The first character in the segment to copy. |
destination | The destination array. |
destinationIndex | The first index in the destination array. |
count | The number of characters to copy. |