returns int and has strings array as arg
1. Returning Main with args
1 2 3 4 5 6 7 |
class Program { static int Main(string[] args) { return 0; } } |
2. Returning Main without args
1 2 3 4 5 6 7 |
class Program { static int Main() { return 0; } } |
3. Void Main with args
1 2 3 4 5 6 7 |
class Program { static void Main(string[] args) { } } |
4. Void Main without args
1 2 3 4 5 6 7 |
class Program { static void Main(string[] args) { } } |