C# source implementation that enhances LINQ to Objects with the method Pairwise. Returns a sequence resulting from applying a function to each element in the source sequence and its predecessor, with the exception of the first element which is only returned as the predecessor of the second element.
$ dotnet add package MoreLinq.Source.MoreEnumerable.PairwiseNo README available.