Run ❯
Get your
own C#
server
❯
Run Code
Ctrl+Alt+R
Change Orientation
Ctrl+Alt+O
Change Theme
Ctrl+Alt+D
Change Language
Go to Spaces
Ctrl+Alt+P
using System; namespace MyApplication { class Program { static void Main(string[] args) { int[] first = {1, 2, 3}; int[] second = {4, 5, 6}; int[] merged = new int[first.Length + second.Length]; first.CopyTo(merged, 0); second.CopyTo(merged, first.Length); foreach (int num in merged) { Console.WriteLine(num); } } } }
1
2
3
4
5
6