I am accessing a COM (VB6) DLL from .NET. A method returns an array of T where T is a VB6 'Type' defined in the DLL. Depending on what parameter is passed to the method, different bits of code create and return an array of the proper type.
I am trying to convert the follwoing code from c++ to c# ===================================================================== c++ code ---------------------------------------------------------------------