13 lines
324 B
C#
13 lines
324 B
C#
using System.Collections.Generic;
|
|
using System.Linq;
|
|
|
|
namespace EvoCalculator.Core.Tools.Array;
|
|
|
|
public static class Array<T>
|
|
{
|
|
public static T[] Concat(params IEnumerable<T>[] arrays)
|
|
{
|
|
return arrays.Aggregate(System.Array.Empty<T>(),
|
|
(current, arr) => current.Concat(arr).ToArray());
|
|
}
|
|
} |