0
Why does he set "static void main (string)"?
If he has to use int variables, maybe he could set another "main" instead of convert the variable. (I dont know if my question is clear sry I hope that...)
1 ответ
0
I don't understand your question quite well but you should see the main method as the method that initializes your application and it is configured that way because:
static = it can't be used by an object.
void = because it can't return anything
And the rest means that receives all the arguments, that's why you can create an object of another class inside your main method.
I hope this helped.