using System.Collections.Generic;
public static void Main()
var list = new List<int>{1, 2, 3, 4, 5};
var pairs = list.Take(list.Count() - 1).Select((z, index) => new
a = z, b = list[index + 1]
pairs.ForEach(p => Console.Write("(" + p.a + "," + p.b + ") "));