How to pass a string argument from C++ to a managed C# DLL
<p>I'm writing a C++ program that needs to call a DLL written in C#.  I followed these instructions for creating my C# DLL and linking in to it from my C++.</p>

<p><a href="https://support.microsoft.com/en-us/kb/828736" rel="nofollow">https://support.microsoft.com/en-us/kb/828736</a></p>

<p>I have a C# function that takes a string as an argument.  How do I pass a string out of C++ into my C#?</p>