How to Get array of string from Native Code(C++) in Managed Code(C#)
is there any way through which we can get the collection of string from c++ to c#

C# Code

    [DllImport("MyDLL.dll")]
    private static extern List<string> GetCollection();
    public static List<string> ReturnCollection()
    {
        return GetCollection();
    }

C++ Code

    std::vector<string> GetCollection()
    {
    std::vector<string> collect;
    return collect;
    }
The code above is only for sample, the main aim is to get collection in C# from C++, and help would be appreciated

//Jame S
How to Get array of string from Native Code(C++) in Managed Code(C#)
===

is there any way through which we can get the collection of string from c++ to c#

C# Code

    [DllImport("MyDLL.dll")]
    private static extern List<string> GetCollection();
    public static List<string> ReturnCollection()
    {
        return GetCollection();
    }

C++ Code

    std::vector<string> GetCollection()
    {
    std::vector<string> collect;
    return collect;
    }
The code above is only for sample, the main aim is to get collection in C# from C++, and help would be appreciated

//Jame S