title: allocating "unmanaged" memory in c#
body: <p>I'm writting a program in c# that uses a C++ library, and for some reason I need to allocate an unmanaged buffer to pass it to the lib. Is there a way to do this in c# ?
  Basically I would just need to do a malloc in C#...</p>
  
  <p>Thanks</p>