📜  c#代码示例中的滑动窗口算法

📅  最后修改于: 2022-03-11 14:49:14.839000             🧑  作者: Mango

代码示例1
var input = new[] { "a", "b", "c", "d", "e", "f" };
var result = input.Zip(input.Skip(1), (a, b) => Tuple.Create(a, b));