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