byte[] a = { 1, 2, 3 };
byte[] b = { 99, 3, 2, 1, 99 };
byte[] c = { 0, 0 };
byte[] ab = a.Concat(b).Concat(c).ToArray();
foreach (byte v in ab)
{
Console.WriteLine(v);
}
输出:
1
2
3
99
3
2
1
99
0
0
参考:
https://blog.csdn.net/weixin_29868343/article/details/112814209
标签:ab,C#,99,拼接,数组,byte,Concat From: https://www.cnblogs.com/huvjie/p/16876559.html