CSharp on RPi

From eLinux.org
Revision as of 18:14, 10 March 2013 by JoeStrout (Talk | contribs) (Initial draft... lots more detail needed. Please help!)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

C# can be used, in both compiled and interactive mode, on the Raspberry Pi via Mono.

Installation

To use C#, you must first install the mono-complete package. Under Debian:

sudo apt-get install mono-complete

Under Arch:

sudo pacman -S mono-complete

Usage

To use the interactive C# environment, simply type "csharp" at a command prompt. Type some C# code, and it will be executed or evaluated immediately. Press Ctrl+D to exit.

Examples