Thanks for the response, Rob. This is one of the first and pretty much only articles that my google searches found pertaining to a C Sharp Plug-in. The code in that article is reasonably antiquated and now deprecated as its from 2007 -- using .NET 2.0. I also find extern assembly hard to follow.
There is a fairly popular NUGET package by Robert Giesecke called Unmanaged Exports. This package simplifies exporting functions into about one line of code. This works great but relies on the Marshal Class in the .NET base.
Anyone have experience with this?
Once I get this figured out, I will share my template on here.