CS-Script 3.20.0

Sample script

/s - prints/shows content of a embedded sample script

cscs /s

The command above produces the following output:


using System;
using System.Windows.Forms;

class Script
    static public void Main(string[] args)
        MessageBox.Show("Just a test!");

        for (int i = 0; i < args.Length; i++)

The sample script can be used as a starting script (skeleton code) for further development. The easiest way to create your initial script (eg. test.cs) is to execute the following command in command prompt:

 cscs /s > test.cs

See Also

Command-line interface