Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

combined 2 arrays

int[] front = { 1, 2, 3, 4 };
int[] back = { 5, 6, 7, 8 };

int[] combined = new int[front.Length + back.Length];
Array.Copy(front, combined, front.Length);
Array.Copy(back, 0, combined, front.Length, back.Length);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #combined #arrays
ADD COMMENT
Topic
Name
8+6 =