A compiler which can transform the convention of C# code to the convention of Python.
dotnet tool install --global SharpPythonCompiler
sharp-python-compiler TestAssembly.csproj outputDir
You will get a new assembly file "TestAssembly.Py.dll" in the output directory.