
10 Basic concepts
10.1 Application startup
Paragraph 11 Application startup occurs when the execution environment calls a designated method, which is referred to as the application's entry point. 2 This entry point method is always named Main, and shall have one of the following signatures:
static void Main() {...}
static void Main(string[] args) {...}
static int Main() {...}
static int Main(string[] args) {...}
Paragraph 21 As shown, the entry point may optionally return an int value. 2 This return value is used in application termination (§10.2).
Paragraph 31 The entry point may optionally have one formal parameter, and this formal parameter may have any name. 2 If such a parameter is declared, it must obey the following constraints:
| |
| Jagger Software Ltd | |
| Company # 4070126 | |
| VAT # 762 5213 42 |