Y
Hacker News
new
|
ask
|
show
|
jobs
by
pjmlp
1966 days ago
Allocate it via Marshal.AllocHGlobal, and use unsafe to place it there.
Then you can allocate and deallocate at will.
Or just use a struct.