Microsoft's. NET Framework with Linux development and management, is the two most popular theme of Buider AU and a broader industry.
Most of the time, these two themes often conflict, and few developers need to know both tools at the same time. However, many people do not realize that
We can actually combine the two through the open source Mono program.
This article explains how to install Mono on Linux and run a basic. NET application.
1. First you need to install the basic mono package using Apt-get. It is best to install the other two packages at this time: monodevelop--a mono development environment that is similar in some respects to Visual Studio (though far less complex than Visual Studio), and provides help and technical documentation for MONODOC.
Start a root terminal and enter:
Apt-get Install MonoDevelop
The relevant SDK and dependent packages are then installed.
2. Simple test Examples:
Create a Demo.cs file
Class x{
static void Main (string[] arg)
{
System.Console.Write ("Dalong test mono App");
}
}
3. Compile on Linux:
The command is: GMCs Demo.cs
4. Perform the compiled results:
Terminal page display Dalong test mono App
Test success
Installing and using mono on Ubuntu