passing a complex object in c++ to c# through COM
问题 This question expands on the existing question here: Passing an object from C++ to C# though COM The previous question deals with a simple object, but I would like to do the same for a complex object. So instead of TestEntity1 having a single property, if it has another property of type TestEntity2, how can I assign the property of type TestEntity2 of the TestEntity1 object in c++ consumer? C#: using System; using System.Collections.Generic; using System.Text; using System.Runtime