using System;
public class Program
{
public static void Main()
string[] array = { "A", "B", "C", "D", "E", "F", "G" };
var firstView = new Span<string>(array, 1, 4);
var secondView = new Span<string>(array, 3, 3);
firstView[0] = "X";
secondView[0] = "Z";
firstView[3] = "W";
secondView[1] = "Y";
firstView[5] = "Q"; // ****
foreach (string x in array) Console.Write(x + " ");
}