Skip to content
Mario Gutierrez edited this page Jan 7, 2017 · 2 revisions

Some variations of the Main method.

static void Main() { }
static int Main() { return 0; }
static int Main(string[] args) { return 0; }

Command-line args can also be retrieved using System.Environment.GetCommandLineArgs().

Clone this wiki locally