Monoppix - CSC Quickstart Walkthrough
The following steps will show you how to write a small Mono program, compile and execute it
1.Once the Initialization stage is over , open up the kwrite text editor.
2.Enter the following text:
using System; public class Test { public static void Main() { Console.WriteLine("We got mono..."); return; } } |
3.Save as /tmp/test.cs
4.Open a terminal window by clicking on the panel 'shell' button
5.execute the following commands in the terminal window:
- cd /tmp
- mcs test.cs
- mono test.exe