Monoscript

Allows using Mono and C# for scripting on Unix. Source files are automatically compiled and executed. Caching is employed to avoid recompiling unchanged files.

Sample

using System;

public class Program
{
    public static void Main(string[] args)
    {
        Console.WriteLine("Hello, World!");

        Console.WriteLine("Printing arguments:");
        foreach (string arg in args)
        {
            Console.WriteLine(arg);
        }
    }
}

Run using Monoscript by: monoscript sample.cs

Last edited Oct 5, 2013 at 4:09 PM by bakkedal, version 2