Array.Copy is what you need - something like
byte[] a = new byte[] { 0, 1, 2, 3 };
byte[] b = new byte[] { 4, 5, 6, 7 };
byte[] c = new byte[a.Length + b.Length];
Array.Copy(a, c, a.Length);
Array.Copy(b, 0, c, a.Length, b.Length);
foreach (byte item in c)
{
Console.WriteLine(item);
}
Dave
BTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)
Visual Basic is not used by normal people so we're not covering it here. (Uncyclopedia)
Why are you using VB6? Do you hate yourself? (Christian Graus)