How can I fly a pixhawk 6c drone using a C# code

I’ve been able to fly my drone using Python and the dronekit library, but now I have to do it in C# and I don’t know where to start. Is it enough with a simple translation of the code?

The task of the drone is basically arming and going up and down 2 meters.

If you need the python code to resolve my doubt feel free to ask.

Thank you very much :slight_smile: