How to export C# methods?
Solution 1:
Contrary to popular belief, this is possible.
See here.
Solution 2:
With the normal Python implementation ("CPython"), you can't, at least not directly.
You could write native C wrappers around our C# methods using C++/CLI, and call these wrappers from Python.
Or, you could try IronPython. This lets you run Python code and call code in any .Net language, including C#.