How can I test how my Main method handles command-line arguments in Linqpad? I tried
void Main(string[] args)
{
args.Dump()
}
but it errors
No overload for method 'Main' takes 0 arguments
Edit: I don't want to run Linqpad from the command-line (that would be tedious), I just want to supply args to the main method somehow (so I can quickly test a Main method). Perhaps like this mock-up: