var z = new int[x.Length + y.Length];
x.CopyTo(z, 0);
y.CopyTo(z, x.Length);
More Related Contents:
- printing all contents of array in C#
- Conversion from List to array T[]
- How to write this nested foreach loop query in LINQ?
- Linq: GroupBy, Sum and Count
- Comparing two byte arrays in .NET
- Merging two arrays in .NET
- LINQ Aggregate algorithm explained
- Declare a const array
- LINQ Grouping dynamically
- Why do C# multidimensional arrays not implement IEnumerable?
- Why does Enumerable.All return true for an empty sequence? [duplicate]
- C# – code to order by a property using the property name as a string [duplicate]
- Can I specify my explicit type comparator inline?
- How do you get the width and height of a multi-dimensional array?
- LINQ Where Ignore Accentuation and Case
- .Net Data structures: ArrayList, List, HashTable, Dictionary, SortedList, SortedDictionary — Speed, memory, and when to use each? [closed]
- Can I split an IEnumerable into two by a boolean criteria without two queries?
- Wildcard equivalent in C# generics
- Find all child controls of specific type using Enumerable.OfType() or LINQ
- Join and Include in Entity Framework
- Remove item from list based on condition
- Last and LastOrDefault not supported
- How does PredicateBuilder work
- LINQ Using Max() to select a single row
- Why do arrays in .net only implement IEnumerable and not IEnumerable?
- Using XmlSerializer with an array in the root element
- Should the order of LINQ query clauses affect Entity Framework performance?
- Is it possible to extend arrays in C#?
- Map two lists into a dictionary in C#
- Can I use Linq’s Except() with a lambda expression comparer?