I have got the array containing some data, say, a header and a real data. I need to pass the data contained in the array to a method, but I definitely want to avoid copying it to another array.
I thought of something like ArraySegment, but it seems not to work in my case (or maybe I’m wrong?).
So, how to pass a part of an array to a method, as it was an array itself?
Thank you for your replies!
Cheers
Skip and Take: