Files
SharedMemoryExample/WriterApp/Program.cs
T
2026-11-18 11:20:47 +01:00

8 lines
241 B
C#

using SharedMemory;
using var numbers = new SharedArray<int>("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();