0

I am working on a project in which I am using dll provided by http://aforgenet.com/ in C#. I need to use the same thing in Golang. I have checked out CGO Documentation, but it is about C, not C#. Since binding in C# and C are different, I doubt it will work with CGO. How can I use C# DLL in Golang?

I am not able to understand the example given in this answer. It is about system libraries. If someone can give a very basic example of code written in C# being imported in Golang, I will be very grateful.

Mohit
  • 27
  • 1
  • 10
  • [go-dotnet - Go wrapper for the .NET Core Runtime.](https://github.com/matiasinsaurralde/go-dotnet) might work. – Swordfish Sep 22 '18 at 13:11
  • Another solution is to wrap the C#DLL as a COM I/F. [C# DLL (Class Library) functions called from Go Language](https://stackoverflow.com/q/44447318/9014308) – kunif Sep 22 '18 at 13:18

0 Answers0