title: Return list of points (x,y,z) from C to C# using PInvoke
body: <p>I need to return a list of points i have from a C dll to a C# application using PInvoke. These are points in 3 dimensions [x,y,z]. The number of points varies by what kind of model it is. In C i handle this a linked list of structs. But I don't see how i can pass this on to C#.</p>
  
  <p>The way I see it, I have to return a flexible two dimensional array, probably in a struct. </p>
  
  <p>Any suggestions to how this can be done? Both ideas on how to return it in C and how to access it in C# are highly appreciated.</p>