Task

Show how to concatenate two arrays in your language.



If this is as simple as array1 + array2, so be it.




using System;
 
namespace RosettaCode
{
    class Program
    {
        static void Main(string[] args)
        {
            int[] a = { 1, 2, 3 };
            int[] b = { 4, 5, 6 };
 
            int[] c = new int[a.Length + b.Length];
            a.CopyTo(c, 0);
            b.CopyTo(c, a.Length);
 
            foreach(int n in c)
            {
                Console.WriteLine(n.ToString());
            }
        }
    }
}