Initial commit

This commit is contained in:
Matthias Heil
2026-11-18 11:20:47 +01:00
commit b08fbe13ee
6 changed files with 58 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
using SharedMemory;
try
{
using var numbers = new SharedArray<int>("MySharedArray");
Console.WriteLine(numbers.Length);
Console.WriteLine(numbers[0]);
Console.WriteLine(numbers[^1]);
}
catch (FileNotFoundException)
{
Console.WriteLine("No process has MySharedArray open. Start the first program before this one.");
}