quotes from the specs:
<quote>
However, within a single program, no class or struct shall contain more than
one method called Main whose definition qualifies it to be used as an
application entry point. Other overloaded versions of Main are permitted,
however, provided they have more than one parameter, or their only parameter
is other than type string[].
<snip>
It is possible for more than one of these classes or structs to contain a
method called Main whose definition qualifies it to be used as an
application entry point. In such cases, one of these Main methods shall be
chosen as the entry point so that application startup can occur. This choice
of an entry point is beyond the scope of this specification
</quote>
In VS that choice can be made in the properties pane of the project.
"chandu" <na*************@hotmail.comschrieb im Newsbeitrag
news:e0**************@TK2MSFTNGP05.phx.gbl...
Hello,
I had one doubt,please clarify it.
Main is the entry point for the application.
if i had multiple overloaded main methods in my application.
how the compiler recognizes the original Main().????