using SharedMemory; using var numbers = new SharedArray("MySharedArray", length: 10); numbers[0] = 123; numbers[^1] = 456; Console.WriteLine("Start the second program, then press Enter here to close the array"); Console.ReadLine();