
Steps
Mono / C# Playground
Hello World
Copy the following code into the editor
using System; using System.Collections.Generic; using System.Text; namespace ConsoleApplication1 { class Program { static void Main(string[] args) { Console.WriteLine("Hello, world!"); } } }
Move to Working Directory cd /root/
Compile with mcs app.cs
Launch with mono app.exe
Launch the Mono C# REPL using csharp
. With the REPL you can execute code without requiring the compiling step. Try running Console.WriteLine("Hello, world!");
Interested in writing your own C# / Mono scenarios and demos? Visit www.katacoda.com/teach
You’ll love Katacoda

Guided Path
Knowing what you need to know is the hardest part. Our guided pathways help build your knowledge around real-world scenarios.

Learn By Doing
The best way to learn is by doing. All our tutorials are interactive with pre-configured live environments ready for you to use.

Stay up-to-date
It's a competitive industry. Your skills need to keep up with the latest approaches. Katacoda keeps your skills up-to-date.
You’ll love Katacoda

Guided Path
Knowing what you need to know is the hardest part. Our guided pathways help build your knowledge around real-world scenarios.

Learn By Doing
The best way to learn is by doing. All our tutorials are interactive with pre-configured live environments ready for you to use.

Stay up-to-date
It's a competitive industry. Your skills need to keep up with the latest approaches. Katacoda keeps your skills up-to-date.