.. blogpost:: :title: Call C# from Python :keywords: reference, blog, post :date: 2017-09-17 :categories: C#, DLL A couple of questions must be answers to do that. * **Call C# from Python**: it is possible to use `Pythonnet `_ or it is possible to create a DLL from C# which can be called from C: `Can you call a C# DLL from a C DLL? `_. * **Call C DLL from Python**: :epkg:`Python` has a module for that, `ctypes `_. * **Compile C# on Linux**: because we want to create a portable code, see `How to compile c# on ubuntu `_ If possible, it would be great to have a automated way to create files *.sln* and *.csproj*. The rest is coming soon.