I\'ve got a library in C which I\'d like to use from C#.
From what I\'ve gleaned off the internet, one idea is to wrap it in a C++ dll, and DllImport that.
Microsoft documentation for Marshal.GetFunctionPointerForDelegate here:
"Converts a delegate into a function pointer that is callable from unmanaged code."