I have two byte arrays. I want to merge these two byte arrays into one byte array.
Usually, I just create a new byte array with length = byte array #1 + byte array #2. Then copy byte array #1 and #2 to the new byte array.
Is there a more efficient way to merge two byte arrays using VB.NET and .NET 4?