开发者

c# take only half of the byte array

Question is simple, i get the first half of the byte array like this:

myArray.Take(128).ToArray();

So now how would i get the rest o开发者_运维知识库f the array without the first 128 bytes. Is there something similar to Take() or i just have to copy them to a new array?


You can use Skip:

myArray.Skip(128).ToArray();
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜