答案 0 :(得分:3)
也许:
string[] result = arr1.Concat(arr2).ToArray();
或(如果您不想要重复):
string[] result = arr1.Union(arr2).ToArray();
或使用Marc Gravells extension可能更有效率:
public static T[] Concat<T>(this T[] x, T[] y)
{
if (x == null) throw new ArgumentNullException("x");
if (y == null) throw new ArgumentNullException("y");
int oldLen = x.Length;
Array.Resize<T>(ref x, x.Length + y.Length);
Array.Copy(y, 0, x, oldLen, y.Length);
return x;
}