Is there a placement new in .NET (like C++)?
In other words if I allocate some memory in VB.NET
Dim Foo(64) as Byte
I want to instance BarClass in the Foo memory (something like...)
Dim Bar as New BarClass(Foo)
However, I don't see any syntax to do this.
Instead I have to do something like:
Dim Foo(1) as BarClass
Foo(0) = new BarClass(x, y, z)
Foo(1) = new BarClass(x, y, z)