Hi Sergey ,
I have added more detail here. As you suggested List has ToArray method.
I am little confused here. Because in C# , I have the following code.
obj.CreateSubscriptions<list><topicdetails>, string>(topicDetails, "VIEW");
Now if I use topicDetails.ToArray(); will it convert this to an integer array which I can pass to C++/CLI
and then to native C++ code as
const vector<int> &optList
Appreciate your help.