Original Post
Let's say I've got an array, and I want to use a smaller part of that array. In C I could do this:
blah* subarray = &bigarray[10]; and then subarray would be an array that starts at the 10th element of bigarray. Best of all, I don't have to make a copy of an array. How would I do that in C#? It doesn't even look like I can use Array.CopyTo() since the index it takes is the destination start index, not the start index of the source array. Is the only way to do it with a for-loop?
blah[] subarray = new blah[bigarray.Length - 5];
for (int i = 0; i < bigarray.Length - 5; i++)
{
subarray = bigarray[5 + i];
}