So I need to pass arguments to function (in C#) and then get the results. I need to do this from Python. I do same thing with C++ (using ctypes and 'extern "C"' and I have no problems with that). I found something here, but it needs some 'DllExport' and other libraries (NuGet?) in C# - I do not know how to get (or use - I tried copy/pasting but I got an error about those non-existing libraries) them (a beginner in C#). I am using Ubuntu 16.04 with Mono for C#. Would this be as simple as C++ extern thing? Should I compile the .cs into .dll? I compile to .exe with csc
command and then mono cs.exe
to run it.
To sum up - I need help with that (in link) first answer, because I think it would work best for me. Thank you in advance.