C # is executed from the method main. This method must be a static method of a class or structure,
And the return type must be Int or void.
Although it is common to explicitly specify the p-mountain modifier, as defined, this method must be called outside the program, but we
It is not important to specify the access level for the entry point method. Even if the method is marked as private, it can run.
By default, the compiler searches for
Main () method, and make this class method the entry point of the program. If multiple main () methods exist, the compiler returns an error message.
When calling a program, you can have the CLR contain a parameter
The command line parameters are passed to the program. This parameter is a string array, traditionally called ARGs (C # can accept any name ).
When starting a program, the program can use this array to access the options transmitted through the command line.
Main () method