public static void Main()
var checksum = new byte[]
var newArray = ConcatArrays(header, data, checksum);
newArray.ToList().ForEach(i => Console.Write($"{i},"));
public static T[] ConcatArrays<T>(params T[][] list)
var result = new T[list.Sum(a => a.Length)];
for (int x = 0; x < list.Length; x++)
list[x].CopyTo(result, offset);
offset += list[x].Length;