use c# code in python code example
Example: c# to python
Go to this website for converting c# to Python
https://www.developerfusion.com/tools/convert/csharp-to-python/
Go to this website for converting c# to Python
https://www.developerfusion.com/tools/convert/csharp-to-python/