using System;
public class Program
{
public static void Main()
int[]A= new int[]{10,20,30,40};
int[]B= new int[]{50,60,70,80};
int[]C= new int[8];
for (int i = 0; i < 4; i++)
C[i] = A[i];
C[i+4] = B[i];
}
Console.WriteLine(""); //para hacer espacios
for(int i = 0; i < 8; i++)
Console.Write(C[i]+",");