Mission 8

mail@pastecode.io avatar
unknown
csharp
16 days ago
258 B
1
Indexable
Never
Child[] children = new Child[20];
// Creating new array
Child[] tempchild = new Child[21];
// Using CopyTo to copy data from children to tempchild
// Starts copying into tempchild starting at index 0
children.CopyTo(tempchild, 0);
children = tempchild;
Leave a Comment