Can I convert via a for
loop?
Is there any better method to do it?
for (int i = 0; i < myListByte.Count ;i++)
{
myArryByte[i] = myListByte[i];
}
myArryByte = myListByte.ToArray();
List<byte> bytes = ...;
byte[] bArrary = bytes.ToArray();
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With