User Profile
Collapse
-
Thanks very much. Got it! -
Thanks for the reply.
I'm doing that. But I'm getting error saying that "{"Value cannot be null.\r\nParame ter name: dest"}"
Code snippet:
...Code:abyteArray0 = abyteArray[0]; //source byte[] NewArray = null; //dest for (int i = 0; i < abyteArray0.Length ; i++) { if ((i % 2 == 0)) {Leave a comment:
-
C# - How do I copy alternate elements from one byte array to another
I have a byte array. I need to copy alternate elements 0,2nd,4th ,6th ,8th elements ......and so on from the source byte array to new destination array.
How do I do that in C#?
No activity results to display
Show More
Leave a comment: