tags:

views:

47

answers:

1

Possible Duplicate:
How to copy part of an array to another array in C#

c# - how to copy a section of "byte[]" variable to another array?

+1  A: 

how about something like:

var byteArray = new byte[] { 1, 0, 1 };
var startIndex = 1;
var length = 2;

byteArray.Skip(startIndex).Take(length).ToArray();
theburningmonk
hey thanks theburningmonk
Greg