csharp ( version Mono C# compiler version 4.0.0.0) allow to write C# scripts, like
#!/usr/bin/csharp
Console.WriteLine( "Hello world !" );
I tried to add a main() function, but got parsing errors, like
{interactive}(1,9): error CS1525: Unexpected symbol `(', expecting `,', `;', or `='
Are there docs about this scripting ?
Does it allow use of functions?