title: How to pass data from MQL4 to C# DLL
body: <p>I would like to ask how to pass some kind of data, like string to my C# DLL. This questions has been answered for C++: <a href="https://stackoverflow.com/questions/39520941/how-to-pass-argument-by-reference-from-mql4-to-c-dll">How to pass argument by reference from MQL4 to C++ DLL</a></p>
  
  <p>However in my case I want my C# code to get this value from MQL4 and then do something with it (so all this while in the C# code).</p>
  
  <p>It's probably a similar approach, but is this still the best way to go, and could someone provide a minimum example of doing this in C#?</p>