понедельник, 14 августа 2017 г.

.NET Core interop with C#: native and Go

Because I can.

.NET interop is a wonderful feature and I was happy to know that in .NET Core it is still powerful and convenient. While consuming native libraries is pretty starightforward at least on Windows but today we'll try some weird things on Mac OS (I'm pretty sure on Linux it will be the same).
Calling native functions is pretty simple. Let's start with creating a basic .NET Core application: