阅读背景:

Linq方式获取列表中元素和下一个元素之间的分段差异

来源:互联网 

Is there a Linq way of knowing what the next element in the sequence is while iterating? As a concrete example, say I have a list of ints, and I want to calculate the difference between each element and its successor, so for example I would like to be able to writeIs there a Linq way of knowing what the next el




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: