How to Install mono-mcs in Ubuntu 18.04



Install mono-mcs by entering the following commands in the terminal:

sudo apt update
sudo apt install mono-mcs

Description:

Mono C# 2.0 / 3.0 / 4.0 / 5.0 compiler for CLI 2.0 / 4.0 / 4.5

This is the Mono C# (C-Sharp) 2.0, 3.0, 4.0 and 5.0 compiler, a platform-independent compiler which produces CIL (Common Intermediate Language) binary executables. . This compiler targets the CLI 2.0, 4.0 or 4.5 runtime version. . The mcs compiler supports different C# versions as follows. With C# 2.0 it supports: - generics - iterators (yield) - nullable value types - partial types - anonymous methods - static classes - coalesce operator: ?? . With C# 3.0 it supports: - Language Integrated Query (LINQ) - object initializers - collection initializers - anonymous types - local variable type inference - implicitly-typed arrays - lambda expressions - automatic properties - extension methods - partial methods . With C# 4.0 it supports: - dynamic binding (duck typing) - named and optional arguments - covariant and contravariant generic type parameters . With C# 5.0 (which is the default) it supports: - asynchronous methods - caller info attributes (as of Mono 3.0 currently not supported!) . Mono is a platform for running and developing applications based on the ECMA/ISO Standards. Mono is an open source effort led by Xamarin. Mono provides a complete CLR (Common Language Runtime) including compiler and runtime, which can produce and execute CIL (Common Intermediate Language) bytecode (aka assemblies), and a class library.

Homepage: http://www.mono-project.com/

Version: 4.6.2.7+dfsg-1ubuntu1

Section: universe/devel