Is is possible to export functions from a C# DLL like in VS C++?
问题 In VS C/C++ you could use extern \"C\" __declspec(dllexport) -function declaration- . How do I accomplish this in a C# dll? Is there C# code equivalent to the above code? Edit: More info I am trying to create an add in for Notepad++ and I want to use C#, but the common way I\'ve seen so far is to use legacy C++ code with the above call to export a few of the functions that Notepad++ expects to import and call. There is an example app using C#, but this still requires a loader DLL, which I