Compile and run C

Aus Wiki
Wechseln zu: Navigation, Suche

Compile and Run C# under Linux

Install package

sudo apt-get install mono-complete

Compile program

mcs -out:hello.exe hello.cs
mcs -out:binario.exe -r:System.Windows.Forms.dll -r:System.Drawing.dll *.cs

Run program

mono hello.exe