Enter our Linux, enter Monodevelop in the terminal, start Mono's own IDE development tool.
Figure 2.0.1
After the startup, as shown below:
Figure 2.1.1
Now, start our first MONO program, or take HelloWorld as an example.
Select a new solution / item from the FILE menu, as shown in Figure 2.2
Figure 2.1.2
We select the first console program, click the new button, Monodevelop will automatically establish a template for console procedures:
Figure 2.1.3
Modify the main method as follows:
Public static void main (string [] args)
{
String name = console.readline ();
Console.writeline ("Hello" Name "!");
}
Press F8 to compile this program, generate Hellomono.exe, run this program in the terminal:
Figure 2.1.4
Smallnest@kuaff.com