title: How to build a dynamic array in C++ and return it back to C#/.NET
body: <p>I have to find the way to build the array of structs on C++ Win32 side. I don't have the initial number of items. It should be very fast to resize that array.</p>
  
  <p>When the list is build, I need to return it back to .NET. So That array(list) should be converted to the transport which easily can be read on .NET side or the initial list can be used "as is" just passing the pointer.</p>
  
  <p>Thanks in advance for giving me a hint!</p>