5

I am very new to Pi but have a RPi 3 running windows 10 I.O.T. core. Can I do c# on it instead of Python? I am interested in some I.O.T. project using Pi but they use C instead of python which is more commonly used on the RPI. Just wondering this is possible with C# and RPi.

sir_ian
  • 980
  • 4
  • 17
  • 38
user1254579
  • 153
  • 1
  • 4

2 Answers2

4

You are running Windows IoT core on the Pi.

You can use Visual Studio Community to develop in a range of languages for the Pi on IoT.

With C# you get the benefit of remote dubugging which is really usefull, and requires no setup (which is fantastic) - You do have a few flavours though, and Pi is slightly limited, in sense of multi app but fully capable of running a single app.

You have Console applications and UAP C#

I would suggest using UAP as it allows you to easily design slick GUI, and its universal so it will run on Windows 10 phones, Tablets and PC's too. (And Macintosh with Mono)

You should have a look on the Microsofts Official project gallery, for samples and ideas.

https://microsoft.hackster.io/en-US

Happy Codding.

Piotr Kula
  • 17,336
  • 6
  • 66
  • 105
0

Sure you can, you just need to install a compiler for it. One such compiler is called mono. See here how to install it (mono-runtime).

tlhIngan
  • 3,372
  • 5
  • 21
  • 33