Xamarin.Mac is an open source library for building Cocoa applications on OSX using C# and .NET. It is based on top of the Mono framework.
Xamarin.Mac: an open source library for building Cocoa applications on OSX using C# and .NET.
You can dig into the source code and read the documentation.