C# Language Specification

static void Main() {…} static void Main(string[] args) {…} static int Main() {…} static int Main(string[] args) {…} As shown, the entry point may optionally return an int value. This return value is used in application termination (§10.2). The entry point may optionally have one formal parameter, and this formal parameter may have any ... ................
................