mcs c# code example Example 1: mono command to compile C# library code mcs hello.cs -pkg:gtk-sharp-2.0 Example 2: mono command to compile C# library code mono hello.exe