Click to See Complete Forum and Search --> : [RESOLVED] question about arrays
benmartin101
Feb 3rd, 2006, 01:56 PM
lets say I have an array of strings that has 100 elements. Is there a way for me to transfer 50 of those elements to another array of strings without having to use a loop that assigns each element one by one to the the other array?
~teh_pwn3rz~
Feb 3rd, 2006, 02:32 PM
Yes. Use:
Array.Copy(sourceArray, 50, destArray, 0, 50);
benmartin101
Feb 3rd, 2006, 05:27 PM
thanks
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.