What is the easiest way to convert [a, b, c, d] to an array of consecutive pairs of its elements using LINQ
[[a, b], [c, d]] ? Is it possible at all?
x = [a, b, c, d] → y = [[a, b], [c, d]]
P.S. If not LINQ then how it can be done in a simplest and efficient way?