Passing objects between C# library and C++ (CLR)
问题 How to pass objects from C# library to C++. I can call a function which returns void or int without any issue. Now consider the following function in C#, List<CSharpClass> CSharpFunction(string Input) where my C# class contains, public class CSharpClass { string mystring = string.Empty; byte[] bytearray = null; public byte[] bytearray { get { return bytearray ; } set { bytearray = value; } } public string mystring { get { return mystring ; } set { mystring = value; } } } Now, I want use this