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


Creating Katacoda Scenarios

Thanks for creating Katacoda scenarios. This tab is designed to help you as an author have quick access the information you need when creating scenarios.

This tab will not be visible to users.

Here are some useful links to get you started.

Running Katacoda Workshops

If you are planning to use Katacoda for workshops, please contact [email protected] to arrange capacity.

Debugging Scenarios

Below is the response from any background scripts run or files uploaded. This stream can aid debugging scenarios.

If you still need assistance, please contact [email protected]