Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System.Linq;
- namespace ConcatTwoArrays
- {
- class Program
- {
- static void Main(string[] args)
- {
- int[] front = { 1, 2, 3, 4 };
- int[] back = { 5, 6, 7, 8 };
- int[] combined = front.Concat(back).ToArray();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement