title: Convert System::String^ (C# string) to C++ std::string
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/946813/c-cli-converting-from-systemstring-to-stdstring">C++/CLI Converting from System::String^ to std::string</a>  </p>
  </blockquote>
  
  
  
  <p>I am using a C# DLL in my C++ code (Visual Studio 2010). How do I convert a System::String^ to a C++ std::string?</p>