I want to connect the Raspberry Pi to a few sensors and motors and then control it via a C# application I have written. After it has carried out the operation I want the Pi to send back data from the sensors so that I can work with it in the C# application.
What is the best way to do this, and what language should I use to write the program running on the Pi to control the sensors? I know Java, C and C# and I could learn Python if I need too.