worst_case - 2026-01-21

Hello,

i am new by SharpS7 und C#.

I want to call the function "S7MultiVar" reader.add in a loop and then
read all items simultaneously.

S7MultiVar reader = new S7MultiVar(plcdevice);

foreach (database.datapoints record ....)

{ reader.Add( x, y, z, ref ???); }

int result = reader.read();

my problem, how create i a dynamic Memory with Pointer, i need every
reader.add a new memory ??
In C# there are normally (save) no pointers.

every example was use only a static memory

static byte[] DB_A = new byte[1024];

I need help, at least one good idea. ;-)