public static void Main()
int[] originalArray = new[] { 1, 2, 3, 4, 5 };
ArraySegment<int> segment = new ArraySegment<int>(originalArray, 0, 1);
Console.WriteLine("Original Array: {0}", string.Join(",", originalArray));
Console.WriteLine("Segment array: {0}", string.Join(",", segment.ToList()));